From: Francois Fleuret Date: Fri, 26 Feb 2010 19:21:52 +0000 (+0100) Subject: Fixed a stupid bug with the return value type of getopt. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=64f2842f0df8442b36adfd3c9d83211b0e62cd77;p=dus.git Fixed a stupid bug with the return value type of getopt. --- diff --git a/dus.c b/dus.c index b6c8851..24dcc28 100644 --- a/dus.c +++ b/dus.c @@ -230,7 +230,7 @@ void print_sorted(struct file_with_size *root, int height) { /**********************************************************************/ int main(int argc, char **argv) { - char c; + int c; struct file_with_size *root; root = 0;