提交 41a18e1d 编写于 作者: M Mark Adler

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

上级 755c41dc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册