diff options
| author | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
| commit | af59e92b24c8f624672720d47ef65bd8457728b9 (patch) | |
| tree | 1da992a4689783e1351760a8702cbf6844ad37aa /ext/spl/spl_heap.c | |
| parent | b9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff) | |
| download | php-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz | |
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'ext/spl/spl_heap.c')
| -rw-r--r-- | ext/spl/spl_heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c index 0910686c4f..b0f06ada69 100644 --- a/ext/spl/spl_heap.c +++ b/ext/spl/spl_heap.c @@ -114,7 +114,7 @@ static int spl_ptr_heap_cmp_cb_helper(zval *object, spl_heap_object *heap_object return FAILURE; } - convert_to_int(&zresult); + convert_to_long(&zresult); *result = Z_LVAL(zresult); zval_ptr_dtor(&zresult); @@ -493,7 +493,7 @@ static int spl_heap_object_count_elements(zval *object, zend_long *count TSRMLS_ if (!Z_ISUNDEF(rv)) { zval_ptr_dtor(&intern->retval); ZVAL_ZVAL(&intern->retval, &rv, 0, 0); - convert_to_int(&intern->retval); + convert_to_long(&intern->retval); *count = (zend_long) Z_LVAL(intern->retval); return SUCCESS; } |
