mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix comparison warning
This commit is contained in:
parent
ba5df1c682
commit
a51cb393b1
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(w
|
|||
return PHP_WIN32_IOUTIL_NORM_FAIL;
|
||||
}
|
||||
|
||||
while (NULL != (pos = wcschr(idx, PHP_WIN32_IOUTIL_FW_SLASHW)) && idx - *buf <= len) {
|
||||
while (NULL != (pos = wcschr(idx, PHP_WIN32_IOUTIL_FW_SLASHW)) && (size_t)(idx - *buf) <= len) {
|
||||
*pos = PHP_WIN32_IOUTIL_DEFAULT_SLASHW;
|
||||
idx = pos++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue