projects
/
platform
/
upstream
/
zlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755c41d
)
Fix bug in test/minigzip.c for configure --solo.
author
Mark Adler
<madler@alumni.caltech.edu>
Sun, 4 Mar 2012 06:43:15 +0000
(22:43 -0800)
committer
Mark Adler
<madler@alumni.caltech.edu>
Sun, 4 Mar 2012 06:43:15 +0000
(22:43 -0800)
test/minigzip.c
patch
|
blob
|
history
diff --git
a/test/minigzip.c
b/test/minigzip.c
index
8317344
..
aa7ac7a
100644
(file)
--- 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;