uname: use wider integer for option bits
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 19 Jan 2009 16:38:30 +0000 (16:38 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 19 Jan 2009 16:38:30 +0000 (16:38 -0000)
coreutils/uname.c

index 8e51aa817d832d218397602084357e85d497d297..cd0218aafd8d06478782cae7323ea3de4aeaf34e 100644 (file)
@@ -80,7 +80,7 @@ int uname_main(int argc UNUSED_PARAM, char **argv)
        const char *unknown_str = "unknown";
        const char *fmt;
        const unsigned short *delta;
-       char toprint;
+       unsigned toprint;
 
        toprint = getopt32(argv, options);