summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--6/genp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/genp9.c b/6/genp9.c
index 13d3cd9..720cbae 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -349,7 +349,7 @@ static size_t writeblob(FILE *fd, Blob *b, size_t off, char *lbl)
n += 4;
break;
case Bti64:
- fprintf(fd, "DATA %s+%zd(SB)/8,$%lld\n", lbl, off+n, b->ival);
+ fprintf(fd, "DATA %s+%zd(SB)/8,$%lld\n", lbl, off+n, (vlong)b->ival);
n += 8;
break;
case Btimin: