From: Jens Axboe Date: Sun, 11 Feb 2007 04:02:48 +0000 (+0100) Subject: [PATCH] Sign warning X-Git-Tag: fio-1.12~99 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c8c51efdfb621275c23ab74b385d80702b7a30d0 [PATCH] Sign warning Signed-off-by: Jens Axboe --- 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;