Whamcloud - gitweb
b=15534
[fs/lustre-release.git] / lustre / utils / llverfs.c
index 975fe52..3f65d55 100644 (file)
@@ -498,10 +498,10 @@ int main(int argc, char **argv)
        FILE *countfile = NULL;
        char filecount[PATH_MAX];
        unsigned long dir_num = 0, dir_num_orig = 0;/* starting directory */
-       char c;
+       int c;
 
        progname = strrchr(argv[0], '/') ? strrchr(argv[0], '/') + 1 : argv[0];
-       while ((c = (char)getopt_long(argc, argv, "t:rwvplo:h",
+       while ((c = getopt_long(argc, argv, "t:rwvplo:h",
                                      longopts, NULL)) != -1) {
                switch (c) {
                case 'c':