[skip ci] Avoid "error: type name is not allowed"

This commit is contained in:
Philip Eisenlohr 2020-09-27 22:42:40 +02:00
parent 7786a9892e
commit c982658b11
1 changed files with 2 additions and 2 deletions

View File

@ -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[]){ void inflate_c(const uLong *s_deflated, const uLong *s_inflated, const Byte deflated[], Byte inflated[]){
/* make writable copy, uncompress will write to it */ /* make writable copy, uncompress will write to it */
uLong s_inflated_; uLong s_inflated_,i;
s_inflated_ = *s_inflated; s_inflated_ = *s_inflated;
if(uncompress((Bytef *)inflated, &s_inflated_, (Bytef *)deflated, *s_deflated) == Z_OK) if(uncompress((Bytef *)inflated, &s_inflated_, (Bytef *)deflated, *s_deflated) == Z_OK)
return; return;
else{ else{
for(uLong i=0;i<*s_inflated;i++){ for(i=0;i<*s_inflated;i++){
inflated[i] = 0; inflated[i] = 0;
} }
} }