From: Ilia Alshanetsky Date: Thu, 27 Feb 2003 23:53:55 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: RELEASE_0_5~705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=912bef379dd9ebe1382c1d0c9ec6f2a5a57be401;p=php Fixed compiler warning. --- diff --git a/ext/standard/dir.c b/ext/standard/dir.c index 6ed208372c..e19171b3d6 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -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) {