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