Just some ptr -> int error casts, nothing critical.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
close_ioengine(td);
cleanup_io_u(td);
td_set_runstate(td, TD_EXITED);
close_ioengine(td);
cleanup_io_u(td);
td_set_runstate(td, TD_EXITED);
- return (void *) td->error;
+ return (void *) (unsigned long) td->error;
td = data + offset * sizeof(struct thread_data);
ret = thread_main(td);
shmdt(data);
td = data + offset * sizeof(struct thread_data);
ret = thread_main(td);
shmdt(data);
+ return (int) (unsigned long) ret;