com php-src: fix warning: win32/ioutil.h

From: Date: Sun, 09 Jul 2017 14:05:36 +0000
Subject: com php-src: fix warning: win32/ioutil.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98472@lists.php.net to get a copy of this message
Commit: 8d0d326ff987abfd01b39f7777f708f12d2af756 Author: Anatol Belski <ab@php.net> Sun, 9 Jul 2017 16:05:36 +0200 Parents: 72b0a3a8921e05a30a66d6c334d400e6b3e8bf18 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8d0d326ff987abfd01b39f7777f708f12d2af756 Log: fix warning Changed paths: M win32/ioutil.h Diff: diff --git a/win32/ioutil.h b/win32/ioutil.h index 9e0c1ce..8298912 100644 --- a/win32/ioutil.h +++ b/win32/ioutil.h @@ -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; \

« previous php.cvs (#98472) next »