summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorPavel Roskin2000-07-17 16:17:19 +0000
committerPavel Roskin2000-07-17 16:17:19 +0000
commit47d4926244f6a444f812675f4ecff401dba5f8f7 (patch)
tree3fa51908f6eb9657a2e9696c2fe9c71001129f7e /date.c
parentbf181b9338152759fd56c8009e9a962a84808e7c (diff)
downloadbusybox-47d4926244f6a444f812675f4ecff401dba5f8f7.zip
busybox-47d4926244f6a444f812675f4ecff401dba5f8f7.tar.gz
The result of getopt() is "int" and should be treated as such
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/date.c b/date.c
index b6fc6c6..e0f0f31 100644
--- a/date.c
+++ b/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;