summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cc/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/cc/com.c')
-rw-r--r--sys/src/cmd/cc/com.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/cmd/cc/com.c b/sys/src/cmd/cc/com.c
index 8ff7c4663..a957c3acd 100644
--- a/sys/src/cmd/cc/com.c
+++ b/sys/src/cmd/cc/com.c
@@ -633,10 +633,11 @@ tcomo(Node *n, int f)
break;
case OLSTRING:
- if(n->type->link != types[TUSHORT]) {
+ if(n->type->link != types[TRUNE]) {
o = outstring(0, 0);
while(o & 3) {
- outlstring(L"", sizeof(ushort));
+ Rune str[1] = {0};
+ outlstring(str, sizeof(Rune));
o = outlstring(0, 0);
}
}