mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
enforce C90 compatibility for zlibWrapper
This commit is contained in:
@ -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