X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.c;h=bfdf390bcf5fac48a791be18898a3dbfe968eeef;hp=9810e419852330f7353240884c62b0f9107ddd2a;hb=c8c51efdfb621275c23ab74b385d80702b7a30d0;hpb=0c09442b26216aed16f758712f744a2c54726cdb 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;