Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jul 24, 2016
1 parent 4acde21 commit addb2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/ioutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit addb2e2

Please sign in to comment.