Hello!

genromfs-0.3 as found on sunsite.unc.edu has a problem with LinuxPPC.
By some reason "char" is unsigned by default on PPC (gcc-2.95.2)

This causes incorrect parsing of command-line arguments (and a subtle
compiler warning).
This patch fixes the problem:

===== cut here =====
--- genromfs.c  Tue Sep 22 08:04:48 1998
+++ genromfs.c  Tue Feb  8 09:35:08 2000
@@ -587,7 +587,7 @@
 
 int main(int argc, char *argv[])
 {
-       char c;
+       int c;
        char *dir = ".";
        char *outf = NULL;
        char *volname = NULL;
===== cut here =====

Add to ChangeLog:
Tue Feb  8 09:52:51 2000  Pavel Roskin <[EMAIL PROTECTED]>

        * genromfs.c (main): don't rely on char being signed
        when parsing the arguments

Pavel Roskin

Reply via email to