[gs-cvs] rev 6902 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Fri Jul 7 10:22:52 PDT 2006


Author: ray
Date: 2006-07-07 10:22:51 -0700 (Fri, 07 Jul 2006)
New Revision: 6902

Modified:
   trunk/gs/src/mkromfs.c
Log:
Fix gcc reported problems.


Modified: trunk/gs/src/mkromfs.c
===================================================================
--- trunk/gs/src/mkromfs.c	2006-07-07 00:26:45 UTC (rev 6901)
+++ trunk/gs/src/mkromfs.c	2006-07-07 17:22:51 UTC (rev 6902)
@@ -213,7 +213,7 @@
 	w2c.c.c2 = p[j++];
 	w2c.c.c3 = p[j++];
 	w2c.c.c4 = p[j++];
-	fprintf(out, "0x%08x,", w2c.w);
+	fprintf(out, "0x%08lx,", 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%08x,", w2c.w);
+	fprintf(out, "0x%08lx,", w2c.w);
       default: ;
     }
     fprintf(out, "\n\t");
@@ -432,9 +432,9 @@
  		"	    options and paths can be interspersed and are processed in order\n"
  		"	    options:\n"
  		"		-o outputfile	default: obj/gsromfs.c if this option present, must be first.\n"
- 		"		-P prefix	use prefix to find path. prefix not included in %rom%\n"
+ 		"		-P prefix	use prefix to find path. prefix not included in %%rom%%\n"
  		"		-X path		exclude the path from further processing.\n"
- 		"		-d string       directory in %rom file system (really just a prefix string on filename)\n"
+ 		"		-d string       directory in %%rom file system (just a prefix string on filename)\n"
  		"		-c		compression on\n"
  		"		-b		compression off (binary).\n"
  		"\n"



More information about the gs-cvs mailing list