I think gcc extension should be avoided when it can be done by
just changing a pointer type.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
return 0;
}
-static unsigned int binject_read_commands(struct thread_data *td, void *p,
+static unsigned int binject_read_commands(struct thread_data *td, void *buf,
int left, int *err)
{
struct fio_file *f;
int i, ret, events;
+ char *p = buf;
one_more:
events = 0;