summaryrefslogtreecommitdiff
path: root/ext/phar
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar')
-rw-r--r--ext/phar/dirstream.c2
-rw-r--r--ext/phar/phar_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/dirstream.c b/ext/phar/dirstream.c
index 9a8c5bfc31..3de030f89e 100644
--- a/ext/phar/dirstream.c
+++ b/ext/phar/dirstream.c
@@ -285,7 +285,7 @@ PHAR_ADD_ENTRY:
if (FAILURE != zend_hash_has_more_elements(data)) {
efree(dir);
- if (zend_hash_sort(data, zend_qsort, phar_compare_dir_name, 0) == FAILURE) {
+ if (zend_hash_sort(data, phar_compare_dir_name, 0) == FAILURE) {
FREE_HASHTABLE(data);
return NULL;
}
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h
index fed80029f6..81c5d36e4a 100644
--- a/ext/phar/phar_internal.h
+++ b/ext/phar/phar_internal.h
@@ -33,7 +33,7 @@
#include "zend_hash.h"
#include "zend_interfaces.h"
#include "zend_operators.h"
-#include "zend_qsort.h"
+#include "zend_sort.h"
#include "zend_vm.h"
#include "zend_smart_str.h"
#include "main/php_streams.h"