projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1616e02
)
Make td_verror() use an unsigned type
author
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 15:04:48 +0000
(09:04 -0600)
committer
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 15:04:48 +0000
(09:04 -0600)
Get rid of warnings stating the input can't be negative.
Signed-off-by: Jens Axboe <axboe@fb.com>
fio.h
patch
|
blob
|
blame
|
history
diff --git
a/fio.h
b/fio.h
index 3df5bd9fa53de0dc72839d598a869e2d0a976eba..144591347c1367e83541237e1509215b6f254609 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-351,7
+351,7
@@
enum {
#define __td_verror(td, err, msg, func) \
do { \
-
int ____e = (err);
\
+
unsigned int ____e = (err);
\
if ((td)->error) \
break; \
(td)->error = ____e; \