updated tests for zlibwrapper C90 strict compatibility
This commit is contained in:
1 parent
69c9401932
commit
c69ed0f8d7
2 files changed
+15
-10
No files matched your search
+1
-1
@@ -216,7 +216,7 @@ local gzFile gz_open(path, fd, mode)
|
||||
#if !defined(NO_snprintf) && !defined(NO_vsnprintf)
|
||||
(void)snprintf(state.state->path, len + 1, "%s", (const char *)path);
|
||||
#else
|
||||
strcpy(state.state->path, path);
|
||||
strcpy(state.state->path, (const char*)path);
|
||||
#endif
|
||||
|
||||
/* compute the flags for open() */
|
||||
|
||||
Reference in new issue
Block a user