ref: c4f1f75587d497b948c1b3f01705711264454928
parent: 7f4889e9fca99864162b0b66c6e407f467a65ccb
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jun 25 11:49:10 EDT 2015
size_t is 32 bits on plan9. We can't use %zd for printing.
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -349,7 +349,7 @@
n += 4;
break;
case Bti64:
- fprintf(fd, "DATA %s+%zd(SB)/8,$%zd\n", lbl, off+n, b->ival);
+ fprintf(fd, "DATA %s+%zd(SB)/8,$%lld\n", lbl, off+n, b->ival);
n += 8;
break;
case Btimin: