fix warning

This commit is contained in:
Anatol Belski 2017-07-09 16:05:36 +02:00
parent 72b0a3a892
commit 8d0d326ff9

View file

@ -137,7 +137,7 @@ typedef enum {
#define PHP_WIN32_IOUTIL_CHECK_PATH_W(pathw, ret, dealloc) do { \
if (!PHP_WIN32_IOUTIL_PATH_IS_OK_W(pathw, wcslen(pathw))) { \
if (dealloc) { \
free(pathw); \
free((void *)pathw); \
} \
SET_ERRNO_FROM_WIN32_CODE(ERROR_ACCESS_DENIED); \
return ret; \