From: Anatol Belski Date: Sun, 24 Jul 2016 01:49:47 +0000 (+0200) Subject: fix compiler warning X-Git-Tag: php-7.1.0beta2~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=addb2e22b3faaa1d61e3ba99e3b7381b00063294;p=php fix compiler warning --- diff --git a/win32/ioutil.h b/win32/ioutil.h index a97bbd7f56..2c96928dcd 100644 --- a/win32/ioutil.h +++ b/win32/ioutil.h @@ -435,7 +435,7 @@ __forceinline static char *php_win32_ioutil_getcwd(char *buf, int len) free(tmp_bufw); SET_ERRNO_FROM_WIN32_CODE(err); return buf; - } else if (strlen(tmp_bufa) > len) { + } else if ((int)strlen(tmp_bufa) > len) { free(tmp_bufa); free(tmp_bufw); SET_ERRNO_FROM_WIN32_CODE(ERROR_INSUFFICIENT_BUFFER);