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 --- coreutils/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/date.c') diff --git a/coreutils/date.c b/coreutils/date.c index b6fc6c686..e0f0f3129 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -148,7 +148,7 @@ int date_main(int argc, char **argv) char *date_str = NULL; char *date_fmt = NULL; char *t_buff; - char c; + int c; int set_time = 0; int rfc822 = 0; int utc = 0; -- cgit v1.2.3