From: Theodore Ts'o Date: Sat, 27 Jun 1998 05:20:20 +0000 (+0000) Subject: ChangeLog, test_icount.c: X-Git-Tag: E2FSPROGS-1_12~12 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=018100f5803d218fb2f97c80111eac7e286faae8;p=tools%2Fe2fsprogs.git ChangeLog, test_icount.c: test_icount.c (main): The variable which gets the return value from getopt should be an int so that the comparisons against EOF work on systems with unsigned chars. --- diff --git a/tests/progs/ChangeLog b/tests/progs/ChangeLog index 6ab454b..746d1dd 100644 --- a/tests/progs/ChangeLog +++ b/tests/progs/ChangeLog @@ -1,3 +1,9 @@ +1998-06-27 Theodore Ts'o + + * test_icount.c (main): The variable which gets the return value + from getopt should be an int so that the comparisons + against EOF work on systems with unsigned chars. + 1998-06-25 Theodore Ts'o * test_icount.c (main): Fix main() declaration so that it returns diff --git a/tests/progs/test_icount.c b/tests/progs/test_icount.c index 896ded9..fc5b0a5 100644 --- a/tests/progs/test_icount.c +++ b/tests/progs/test_icount.c @@ -295,7 +295,7 @@ int main(int argc, char **argv) int retval; int sci_idx; const char *usage = "Usage: test_icount [-R request] [-f cmd_file]"; - char c; + int c; char *request = 0; int exit_status = 0; char *cmd_file = 0;