sg: don't use void* for pointer arithmetic (gcc)
[fio.git] / engines / sg.c
index 833d9205470075c9d2d0354fc67981bb7e88449e..4540b57354cd1c1d02e84faa429cd6e069aa376c 100644 (file)
@@ -124,7 +124,7 @@ static int fio_sgio_getevents(struct thread_data *td, unsigned int min,
        }
 
        while (left) {
        }
 
        while (left) {
-               void *p;
+               char *p;
 
                dprint(FD_IO, "sgio_getevents: sd %p: left=%d\n", sd, left);
 
 
                dprint(FD_IO, "sgio_getevents: sd %p: left=%d\n", sd, left);