projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8edd973
)
server: fix warnings on some platforms on incompatible pointer type
author
Jens Axboe
<axboe@fb.com>
Mon, 3 Mar 2014 20:53:39 +0000
(13:53 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 3 Mar 2014 20:53:39 +0000
(13:53 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
server.c
patch
|
blob
|
blame
|
history
diff --git
a/server.c
b/server.c
index b6961fd58d9281030d9afea117571eb9f6796a60..dc70616a0826572efc79f4d0fcb35b8e2cc67f03 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-1138,7
+1138,7
@@
static int fio_send_cmd_ext_pdu(int sk, uint16_t opcode, const void *buf,
struct fio_net_cmd cmd;
struct iovec iov[2];
- iov[0].iov_base = &cmd;
+ iov[0].iov_base =
(void *)
&cmd;
iov[0].iov_len = sizeof(cmd);
iov[1].iov_base = (void *) buf;
iov[1].iov_len = size;