[gs-cvs] rev 7027 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Sep 9 12:22:15 PDT 2006
Author: alexcher
Date: 2006-09-09 12:22:14 -0700 (Sat, 09 Sep 2006)
New Revision: 7027
Modified:
trunk/gs/src/mkromfs.c
Log:
Use an integer format to print uint32_t value instead of a long format.
We don't support 16-bit platforms but we do support 64-bit platforms where
uint32_t and long are of different size. Bug 688860.
Modified: trunk/gs/src/mkromfs.c
===================================================================
--- trunk/gs/src/mkromfs.c 2006-09-08 17:14:10 UTC (rev 7026)
+++ trunk/gs/src/mkromfs.c 2006-09-09 19:22:14 UTC (rev 7027)
@@ -213,7 +213,7 @@
w2c.c.c2 = p[j++];
w2c.c.c3 = p[j++];
w2c.c.c4 = p[j++];
- fprintf(out, "0x%08lx,", w2c.w);
+ fprintf(out, "0x%08x,", w2c.w);
if ((i & 7) == 7)
fprintf(out, "\n\t");
}
@@ -225,7 +225,7 @@
w2c.c.c2 = p[j+1];
case 1:
w2c.c.c1 = p[j];
- fprintf(out, "0x%08lx,", w2c.w);
+ fprintf(out, "0x%08x,", w2c.w);
default: ;
}
fprintf(out, "\n\t");
More information about the gs-cvs
mailing list