enforce C90 compatibility for zlibWrapper
This commit is contained in:
1 parent
ad2a2785f7
commit
cb18fffe65
9 files changed
+46
-42
No files matched your search
@@ -19,7 +19,7 @@ int ZEXPORT gzclose(file)
|
||||
|
||||
if (file == NULL)
|
||||
return Z_STREAM_ERROR;
|
||||
state = (gz_statep)file;
|
||||
state.file = file;
|
||||
|
||||
return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user