io_u: don't use void* for pointer arithmetic (gcc)
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 375413f4b6d230e38432484179327736ae2de060..8d42d6541f7dbb9592639619874295153101bd91 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1602,7 +1602,7 @@ static void small_content_scramble(struct io_u *io_u)
        unsigned int i, nr_blocks = io_u->buflen / 512;
        uint64_t boffset;
        unsigned int offset;
-       void *p, *end;
+       char *p, *end;
 
        if (!nr_blocks)
                return;