aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qbe.c b/qbe.c
index f6ac39b..529df02 100644
--- a/qbe.c
+++ b/qbe.c
@@ -1128,7 +1128,7 @@ emittype(struct type *t)
fputs("type ", stdout);
emitvalue(t->value);
if (t == targ->typevalist) {
- printf(" = align %d { %" PRIu64 " }\n", t->align, t->size);
+ printf(" = align %d { %llu }\n", t->align, t->size);
return;
}
fputs(" = { ", stdout);
@@ -1427,6 +1427,6 @@ emitdata(struct decl *d, struct init *init)
}
assert(offset <= d->type->size);
if (offset < d->type->size)
- printf("z %" PRIu64 " ", d->type->size - offset);
+ printf("z %llu ", d->type->size - offset);
puts("}");
}