From c8c51efdfb621275c23ab74b385d80702b7a30d0 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 11 Feb 2007 05:02:48 +0100 Subject: [PATCH] [PATCH] Sign warning Signed-off-by: Jens Axboe --- stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat.c b/stat.c index 9810e419..bfdf390b 100644 --- a/stat.c +++ b/stat.c @@ -21,7 +21,7 @@ static char *num2str(unsigned long num, int maxlen, int base) * could be passed in for 10^3 base, but every caller expects * 2^10 base right now. */ - const int thousand = 1024; + const unsigned int thousand = 1024; char postfix[] = { 'K', 'M', 'G', 'P' }; char *buf; int i; -- 2.25.1