Fix syntax error in gzlib.c.

This commit is contained in:
Mark Adler 2012-03-18 14:25:00 -07:00
parent 2bd5bd78a6
commit 04afd39fcc
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode)
/* save the path name for error messages */
# define WPATH "<widepath>"
state->path = malloc(strlen(fd == -2 ? WPATH : (path) + 1);
state->path = malloc(strlen(fd == -2 ? WPATH : path) + 1);
if (state->path == NULL) {
free(state);
return NULL;