projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c09442
)
[PATCH] Sign warning
author
Jens Axboe
<jens.axboe@oracle.com>
Sun, 11 Feb 2007 04:02:48 +0000
(
05:02
+0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Sun, 11 Feb 2007 04:02:48 +0000
(
05:02
+0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 9810e419852330f7353240884c62b0f9107ddd2a..bfdf390bcf5fac48a791be18898a3dbfe968eeef 100644
(file)
--- 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;