summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2012-04-23 19:23:30 +0000
committerJason Woodward2012-04-23 19:23:30 +0000
commit24add14f61e7b5aa502f05101f606d72a11bf137 (patch)
treede64578ec8202b2f78b40770f7b33adca770546c
parent32ca3261466473c698d133e62bb3944451739448 (diff)
downloadslapt-src-24add14f61e7b5aa502f05101f606d72a11bf137.tar.gz
updated zlib usage to fix "expected 'gzFile' but argument is of type 'struct gzFile_s **'"0.3.2c
-rw-r--r--ChangeLog4
-rw-r--r--src/source.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b464098..6d86306 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
-0.3.2c Oct 15, 2011
+0.3.2c Apr 23, 2012
+ * updated zlib usage to fix "expected 'gzFile' but argument is of type
+ 'struct gzFile_s **'". Thanks Igor
* drop extra version comparison in finding the generated package
0.3.2b Oct 05, 2011
diff --git a/src/source.c b/src/source.c
index ec41825..20bec77 100644
--- a/src/source.c
+++ b/src/source.c
@@ -373,7 +373,7 @@ slapt_src_slackbuild_list *slapt_src_get_slackbuilds_from_file (const char *data
/* support reading from gzip'd files */
if (strstr (datafile, ".gz") != NULL) {
- gzFile *data = NULL;
+ gzFile data = NULL;
char gzbuffer[SLAPT_MAX_ZLIB_BUFFER];
if ((f = tmpfile ()) == NULL)