X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=verify-state.h;h=1586f63fb0f0a61f7eea2a6db90876b24f895960;hp=e46265e48d7a6c4ddbbac34a458e26d3272d60da;hb=e0409d5ffe6127961ddc4c495ec32b72a65e11bf;hpb=a86f6d07f12141a32ccad2007d4568e612e0df10 diff --git a/verify-state.h b/verify-state.h index e46265e4..1586f63f 100644 --- a/verify-state.h +++ b/verify-state.h @@ -77,7 +77,7 @@ static inline size_t thread_io_list_sz(struct thread_io_list *s) static inline struct thread_io_list *io_list_next(struct thread_io_list *s) { - return (void *) s + thread_io_list_sz(s); + return (struct thread_io_list *)((char *) s + thread_io_list_sz(s)); } static inline void verify_state_gen_name(char *out, size_t size,