t/debug: fix 'fio_debug' declaration
authorJens Axboe <axboe@fb.com>
Fri, 3 Jul 2015 20:26:08 +0000 (14:26 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 3 Jul 2015 20:26:08 +0000 (14:26 -0600)
debug.h:38:22: warning: type of ‘fio_debug’ does not match original declaration
 extern unsigned long fio_debug;
                      ^
t/debug.c:5:14: note: previously declared here
 unsigned int fio_debug = 0;

Signed-off-by: Jens Axboe <axboe@fb.com>
t/debug.c

index c297d6159337576e4e7a9d4d0f4552d013028346..bf6f460578fd858984205d3463452f0b9c91e28b 100644 (file)
--- a/t/debug.c
+++ b/t/debug.c
@@ -2,7 +2,7 @@
 
 FILE *f_err;
 struct timeval *fio_tv = NULL;
 
 FILE *f_err;
 struct timeval *fio_tv = NULL;
-unsigned int fio_debug = 0;
+unsigned long fio_debug = 0;
 
 void __dprint(int type, const char *str, ...)
 {
 
 void __dprint(int type, const char *str, ...)
 {