summaryrefslogtreecommitdiff
path: root/coreutils/du.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 /coreutils/du.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 'coreutils/du.c')
-rw-r--r--coreutils/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 147914c..5a08abb 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -126,7 +126,7 @@ static long du(char *filename)
int du_main(int argc, char **argv)
{
int i;
- char c;
+ int c;
/* default behaviour */
print = print_normal;
@@ -163,7 +163,7 @@ int du_main(int argc, char **argv)
return(0);
}
-/* $Id: du.c,v 1.23 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: du.c,v 1.24 2000/07/17 16:17:19 proski Exp $ */
/*
Local Variables:
c-file-style: "linux"