ref: d17587d89ed49739392eb6d768d583c7f5955d2c
parent: 46f0325e0e0d5e49b6bcf926e45449f3397eaa47
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jun 27 10:52:15 EDT 2015
C99 intxx types are nuts wrt printf. Cast to sanity.
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -349,7 +349,7 @@
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: