Control: tags -1 + patch

I believe the following patch solve the release critical problem.  The
variable is only used to store a pointer received from try_open_gzip()
and passed on to data->gzf.

diff --git a/src/libdisk/load_22dsk.c b/src/libdisk/load_22dsk.c
index 5ad1447..110bc9d 100644
--- a/src/libdisk/load_22dsk.c
+++ b/src/libdisk/load_22dsk.c
@@ -135,7 +135,7 @@ do_open(const char *path)
   int ro;
   FILE *f;
   int b1, b2;
-  gzFile *gzf;
+  gzFile **gzf;
   dsk_data_t *data;
 
   f = NULL;

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to