projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abdce6
)
64-bit compile warnings
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 21 Feb 2007 15:35:29 +0000
(16:35 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 21 Feb 2007 15:35:29 +0000
(16:35 +0100)
Just some ptr -> int error casts, nothing critical.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 95e06dd8e045136ce9954a8e759aef3dac09a7d0..3191a7d21ab31d5e675912856a54fe5ec57b49f0 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-769,7
+769,7
@@
err:
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
@@
static int fork_main(int shmid, int offset)
td = data + offset * sizeof(struct thread_data);
ret = thread_main(td);
shmdt(data);
- return (int) ret;
+ return (int)
(unsigned long)
ret;
}
/*