From 47d4926244f6a444f812675f4ecff401dba5f8f7 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 17 Jul 2000 16:17:19 +0000 Subject: The result of getopt() is "int" and should be treated as such --- util-linux/dmesg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a8c61c7b4..99d053a72 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -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; -- cgit v1.2.3