Skip to content

Commit 2ca0c2f

Browse files
committed
ext/ffi: Use 64bit integer to hold array length
1 parent 73a3197 commit 2ca0c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ffi/ffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6436,7 +6436,7 @@ static zend_result zend_ffi_validate_array_element_type(zend_ffi_type *type) /*
64366436

64376437
void zend_ffi_make_array_type(zend_ffi_dcl *dcl, zend_ffi_val *len) /* {{{ */
64386438
{
6439-
int length = 0;
6439+
int64_t length = 0;
64406440
zend_ffi_type *element_type;
64416441
zend_ffi_type *type;
64426442

0 commit comments

Comments
 (0)