1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Use uint32_t for variable storing ZEND_NUM_ARGS()

This commit is contained in:
George Peter Banyard
2023-05-16 11:34:41 +01:00
parent e35cd34bcd
commit 80c8ca9c8f

View File

@@ -195,7 +195,7 @@ PHP_FUNCTION(assert_options)
zval *value = NULL;
zend_long what;
bool oldint;
int ac = ZEND_NUM_ARGS();
uint32_t ac = ZEND_NUM_ARGS();
zend_string *key;
ZEND_PARSE_PARAMETERS_START(1, 2)