From: Jens Axboe Date: Tue, 3 Oct 2017 15:30:37 +0000 (-0600) Subject: client: fix pointer vs uint8_t comparison X-Git-Tag: fio-3.2~65 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=e4651d46b3fd5dc4c46a4a299a34974f93297170 client: fix pointer vs uint8_t comparison Signed-off-by: Jens Axboe --- 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)