Fix bug in test/minigzip.c for configure --solo.

This commit is contained in:
Mark Adler 2012-03-03 22:43:15 -08:00
parent 755c41dc4b
commit 41a18e1d7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;