Skip to content

Commit 0fb5f77

Browse files
committed
Fix Windows build error for count_elements signature
1 parent 6a28885 commit 0fb5f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/collections/collections_deque.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static zend_object *collections_deque_clone(zend_object *old_object)
431431
return new_object;
432432
}
433433

434-
static int collections_deque_count_elements(zend_object *object, zend_long *count)
434+
static zend_result collections_deque_count_elements(zend_object *object, zend_long *count)
435435
{
436436
const collections_deque *intern = collections_deque_from_object(object);
437437
*count = intern->array.size;

0 commit comments

Comments
 (0)