The result of getopt() is "int" and should be treated as such

This commit is contained in:
Pavel Roskin
2000-07-17 16:17:19 +00:00
parent bf181b9338
commit 47d4926244
8 changed files with 12 additions and 10 deletions

View File

@ -34,7 +34,8 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
int dmesg_main(int argc, char **argv)
{
char *buf, c;
char *buf;
int c;
int bufsize = 8196;
int i;
int n;