From 41a18e1d7e2f5dea87c5105309e369ec1e86f2bd Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 3 Mar 2012 22:43:15 -0800 Subject: [PATCH] Fix bug in test/minigzip.c for configure --solo. --- test/minigzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/minigzip.c b/test/minigzip.c index 8317344..aa7ac7a 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; -- GitLab