From 2f7b59d00d9741e80b21429834910a2eec904fe4 Mon Sep 17 00:00:00 2001 From: Jonathan Dieter Date: Fri, 14 Sep 2018 13:38:29 +0100 Subject: [PATCH] Fix dict_size so it's signed (Coverity ID: 310907) Signed-off-by: Jonathan Dieter --- src/zck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zck.c b/src/zck.c index 8a62ee9..5fd7fc0 100644 --- a/src/zck.c +++ b/src/zck.c @@ -141,7 +141,7 @@ int main (int argc, char *argv[]) { /* Set dictionary if available */ char *dict = NULL; - size_t dict_size = 0; + off_t dict_size = 0; if(arguments.dict != NULL) { int dict_fd = open(arguments.dict, O_RDONLY); if(dict_fd < 0) { -- 2.30.2