64-bit compile warnings
Just some ptr -> int error casts, nothing critical.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c
index 95e06dd..3191a7d 100644
--- a/fio.c
+++ b/fio.c
@@ -769,7 +769,7 @@
close_ioengine(td);
cleanup_io_u(td);
td_set_runstate(td, TD_EXITED);
- return (void *) td->error;
+ return (void *) (unsigned long) td->error;
}
/*
@@ -792,7 +792,7 @@
td = data + offset * sizeof(struct thread_data);
ret = thread_main(td);
shmdt(data);
- return (int) ret;
+ return (int) (unsigned long) ret;
}
/*