aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2012-04-18 12:39:49 +0000
committerJason Woodward2012-04-18 12:39:49 +0000
commit065bd897f2f00b07bbc8fb5a489f764739ed88df (patch)
treeedc05b3ec52c93316834d626dd2e41c61503df9c /src
parent437dc971ec82dcb54dce8545dab08ea55bdd7df5 (diff)
downloadslapt-get-065bd897f2f00b07bbc8fb5a489f764739ed88df.tar.gz
updated zlib usage to fix "expected 'gzFile' but argument is of type 'struct gzFile_s **'"
Diffstat (limited to 'src')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index b0ac4a8..c378b28 100644
--- a/src/package.c
+++ b/src/package.c
@@ -2634,7 +2634,7 @@ void slapt_free_pkg_err_list(slapt_pkg_err_list_t *l)
/* FIXME this sucks... it needs to check file headers and more */
static FILE *slapt_gunzip_file (const char *file_name,FILE *dest_file)
{
- gzFile *data = NULL;
+ gzFile data = NULL;
char buffer[SLAPT_MAX_ZLIB_BUFFER];
if (dest_file == NULL)