diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-10-03 09:30:37 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 09:30:37 -0600 |
commit | e4651d46b3fd5dc4c46a4a299a34974f93297170 (patch) | |
tree | 5b95561da8f1e0f5230e9fd14b4f72277e23a99a | |
parent | aef7b320ff2c5d4f61e37c5955536786910fe402 (diff) | |
download | fio-e4651d46b3fd5dc4c46a4a299a34974f93297170.tar.gz fio-e4651d46b3fd5dc4c46a4a299a34974f93297170.tar.bz2 |
client: fix pointer vs uint8_t comparison
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |