mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed compiler warning.
This commit is contained in:
parent
57eabeea29
commit
912bef379d
@ -466,7 +466,7 @@ PHP_FUNCTION(scandir)
|
|||||||
if (!flags) {
|
if (!flags) {
|
||||||
n = php_scandir(path, &namelist, 0, php_alphasort);
|
n = php_scandir(path, &namelist, 0, php_alphasort);
|
||||||
} else {
|
} else {
|
||||||
n = php_scandir(path, &namelist, 0, php_alphasortr);
|
n = php_scandir(path, &namelist, 0, (void *) php_alphasortr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user