summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 42099452..779fb9d7 100644
--- a/client.c
+++ b/client.c
@@ -1382,7 +1382,7 @@ static int fio_client_handle_iolog(struct fio_client *client,
}
out:
- if (pdu && pdu != cmd->payload)
+ if (pdu && pdu != (void *) cmd->payload)
free(pdu);
if (log_pathname)