From 7df9ac895f4af7ac4500379d5a5e204be9210fb2 Mon Sep 17 00:00:00 2001 From: Jeff Furlong Date: Fri, 31 Aug 2018 18:26:05 +0000 Subject: [PATCH] client: fix nr_samples In convert_iolog_gz() a 32 bit variable is created to store struct cmd_iolog_pdu's 64 bit member. Signed-off-by: Jens Axboe --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index a868e3af..31c7c649 100644 --- a/client.c +++ b/client.c @@ -1539,7 +1539,7 @@ static struct cmd_iolog_pdu *convert_iolog_gz(struct fio_net_cmd *cmd, #ifdef CONFIG_ZLIB struct cmd_iolog_pdu *ret; z_stream stream; - uint32_t nr_samples; + uint64_t nr_samples; size_t total; char *p; -- 2.25.1