]> granicus.if.org Git - php/commitdiff
Fixed compiler warning.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 27 Feb 2003 23:53:55 +0000 (23:53 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 27 Feb 2003 23:53:55 +0000 (23:53 +0000)
ext/standard/dir.c

index 6ed208372c7ce31562a329981d53d2318f51b716..e19171b3d612cdad8de00361f30c76c5bcee7aa3 100644 (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) {