commit | 9f24726136cc2e94359da7e0dbfd3b6955a71bc5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Mar 03 13:53:39 2014 -0700 |
committer | Jens Axboe <axboe@fb.com> | Mon Mar 03 13:53:39 2014 -0700 |
tree | 45488e64e37dd0e11a1ad6fbeed3f8c2b39d24a3 | |
parent | 8edd973d57a311d4c590d7385796bbdf111ed04c [diff] [blame] |
server: fix warnings on some platforms on incompatible pointer type Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/server.c b/server.c index b6961fd..dc70616 100644 --- a/server.c +++ b/server.c
@@ -1138,7 +1138,7 @@ 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;