From: Francois Fleuret Date: Sat, 27 Feb 2010 10:14:18 +0000 (+0100) Subject: Fixed a bug in the arguments of raw_print and fancy_print. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d5043500e907b11b2714e7712b435dc0156ccab;p=dus.git Fixed a bug in the arguments of raw_print and fancy_print. --- diff --git a/dus.c b/dus.c index d1fe1fb..f67dcea 100644 --- a/dus.c +++ b/dus.c @@ -187,7 +187,7 @@ int compare_files(const void *x1, const void *x2) { } } -void raw_print(char *buffer, char *filename, size_t size) { +void raw_print(char *buffer, char *filename, size_sum_t size) { char *a, *b, *c, u; b = buffer; @@ -213,7 +213,7 @@ void raw_print(char *buffer, char *filename, size_t size) { sprintf(b, " %s\n", filename); } -void fancy_print(char *buffer, char *filename, size_t size) { +void fancy_print(char *buffer, char *filename, size_sum_t size) { if(size < 1024) { sprintf(buffer, "% 7d %s\n",