From addb2e22b3faaa1d61e3ba99e3b7381b00063294 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 24 Jul 2016 03:49:47 +0200 Subject: [PATCH] fix compiler warning --- win32/ioutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/ioutil.h b/win32/ioutil.h index a97bbd7f56fba..2c96928dcd101 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);