]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/zstd/zlibWrapper/gzclose.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / zstd / zlibWrapper / gzclose.c
index d4493d010d74622aa4e3b616dcec2204bdc515ee..25d3789b128a7405e21a7a30a2baf7db2273f168 100644 (file)
@@ -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