projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
client/server: fix ptr <-> uint64_t casting warnings on 32-bit builds
[fio.git]
/
server.c
diff --git
a/server.c
b/server.c
index db9d8594c8b84c59003cf0d58270bbca197c8fb5..ad07a0e973e9b0ea6c813bad37dfe2b0c21d1012 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-299,7
+299,7
@@
int fio_net_send_simple_cmd(int sk, uint16_t opcode, uint64_t tag,
cmd = malloc(sizeof(*cmd));
- fio_init_net_cmd(&cmd->cmd, opcode, NULL, 0, (uint
64
_t) cmd);
+ fio_init_net_cmd(&cmd->cmd, opcode, NULL, 0, (uint
ptr
_t) cmd);
fio_net_cmd_crc(&cmd->cmd);
INIT_FLIST_HEAD(&cmd->list);