Fixed compiler warning.

This commit is contained in:
Ilia Alshanetsky 2003-02-27 23:53:55 +00:00
parent 57eabeea29
commit 912bef379d

View File

@ -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) {