From: Jonathan Dieter Date: Fri, 14 Sep 2018 12:38:29 +0000 (+0100) Subject: Fix dict_size so it's signed X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~121 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2f7b59d00d9741e80b21429834910a2eec904fe4;p=zchunk.git Fix dict_size so it's signed (Coverity ID: 310907) Signed-off-by: Jonathan Dieter --- 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) {