shithub: mc

Download patch

ref: e5784c0a7fe51aa70d64026ea7c3e7cf49fe634b
parent: 765ff439ba6b29b36c6df8ea3923fac9f5e39eaf
author: Ori Bernstein <ori@eigenstate.org>
date: Sat May 14 08:37:22 EDT 2016

Fix typos

--- a/6/genp9.c
+++ b/6/genp9.c
@@ -317,19 +317,19 @@
 		return 0;
 	switch (b->type) {
 	case Bti8:
-		fprintf(fd, "\tDATA %s+%zd(SB)/1,$%llud\n", lbl, off+n, b->ival);
+		fprintf(fd, "\tDATA %s+%zd(SB)/1,$%llu\n", lbl, off+n, b->ival);
 		n += 1;
 		break;
 	case Bti16:
-		fprintf(fd, "\tDATA %s+%zd(SB)/2,$%llud\n", lbl, off+n, b->ival);
+		fprintf(fd, "\tDATA %s+%zd(SB)/2,$%llu\n", lbl, off+n, b->ival);
 		n += 2;
 		break;
 	case Bti32:
-		fprintf(fd, "\tDATA %s+%zd(SB)/4,$%llud\n", lbl, off+n, b->ival);
+		fprintf(fd, "\tDATA %s+%zd(SB)/4,$%llu\n", lbl, off+n, b->ival);
 		n += 4;
 		break;
 	case Bti64:
-		fprintf(fd, "\tDATA %s+%zd(SB)/8,$%lld\n", lbl, off+n, (vlong)b->ival);
+		fprintf(fd, "\tDATA %s+%zd(SB)/8,$%llu\n", lbl, off+n, (vlong)b->ival);
 		n += 8;
 		break;
 	case Btimin: