From: dxbjavid Date: Sun, 14 Jun 2026 04:34:38 +0000 (+0530) Subject: add explicit cast when storing want in state->size X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460f191a3856bebafa4fba2c8980fdce64dd65fc;p=thirdparty%2Fzlib-ng.git add explicit cast when storing want in state->size --- diff --git a/gzlib.c b/gzlib.c index 7b7edbe45..b0c921740 100644 --- a/gzlib.c +++ b/gzlib.c @@ -106,7 +106,7 @@ int Z_INTERNAL gz_buffer_alloc(gz_state *state) { return -1; } - state->size = want; // mark state as initialized + state->size = (unsigned)want; // mark state as initialized return 0; }