From: Mark Adler Date: Sun, 4 Mar 2012 06:43:15 +0000 (-0800) Subject: Fix bug in test/minigzip.c for configure --solo. X-Git-Tag: v1.2.7~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a18e1d7e2f5dea87c5105309e369ec1e86f2bd;p=thirdparty%2Fzlib-ng.git Fix bug in test/minigzip.c for configure --solo. --- diff --git a/test/minigzip.c b/test/minigzip.c index 83173442d..aa7ac7a04 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -197,7 +197,7 @@ gzFile gz_open(path, fd, mode) gzFile gz; int ret; - gz = malloc(sizeof(gzFile)); + gz = malloc(sizeof(struct gzFile_s)); if (gz == NULL) return NULL; gz->write = strchr(mode, 'w') != NULL;