X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=server.c;h=ad07a0e973e9b0ea6c813bad37dfe2b0c21d1012;hp=db9d8594c8b84c59003cf0d58270bbca197c8fb5;hb=df380934e53c645b4b7cdec882b512b4d20ebc14;hpb=7b8216842eb888ff626f616c2770a2548b0b0bf9 diff --git a/server.c b/server.c index db9d8594..ad07a0e9 100644 --- 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, (uint64_t) cmd); + fio_init_net_cmd(&cmd->cmd, opcode, NULL, 0, (uintptr_t) cmd); fio_net_cmd_crc(&cmd->cmd); INIT_FLIST_HEAD(&cmd->list);