Use uint32_t in Z_PARAM_VARIADIC_WITH_NAMED

This commit is contained in:
George Peter Banyard 2021-05-15 16:53:05 +01:00
parent bdf5a4e478
commit 9115211ebf
No known key found for this signature in database
GPG Key ID: 3306078E3194AEBD

View File

@ -1918,7 +1918,7 @@ ZEND_API ZEND_COLD void zend_argument_value_error(uint32_t arg_num, const char *
Z_PARAM_VARIADIC_EX(spec, dest, dest_num, 0)
#define Z_PARAM_VARIADIC_WITH_NAMED(dest, dest_num, dest_named) do { \
int _num_varargs = _num_args - _i; \
uint32_t _num_varargs = _num_args - _i; \
if (EXPECTED(_num_varargs > 0)) { \
dest = _real_arg + 1; \
dest_num = _num_varargs; \