From c982658b11bb39beaf28205e4b4ab9beaa7c940b Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Sun, 27 Sep 2020 22:42:40 +0200 Subject: [PATCH] [skip ci] Avoid "error: type name is not allowed" --- src/C_routines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/C_routines.c b/src/C_routines.c index 927b26412..98dc25e45 100644 --- a/src/C_routines.c +++ b/src/C_routines.c @@ -61,13 +61,13 @@ void signalusr2_c(void (*handler)(int)){ void inflate_c(const uLong *s_deflated, const uLong *s_inflated, const Byte deflated[], Byte inflated[]){ /* make writable copy, uncompress will write to it */ - uLong s_inflated_; + uLong s_inflated_,i; s_inflated_ = *s_inflated; if(uncompress((Bytef *)inflated, &s_inflated_, (Bytef *)deflated, *s_deflated) == Z_OK) return; else{ - for(uLong i=0;i<*s_inflated;i++){ + for(i=0;i<*s_inflated;i++){ inflated[i] = 0; } }