Skip to content

Commit 9115211

Browse files
committed
Use uint32_t in Z_PARAM_VARIADIC_WITH_NAMED
1 parent bdf5a4e commit 9115211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_API.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@ ZEND_API ZEND_COLD void zend_argument_value_error(uint32_t arg_num, const char *
19181918
Z_PARAM_VARIADIC_EX(spec, dest, dest_num, 0)
19191919

19201920
#define Z_PARAM_VARIADIC_WITH_NAMED(dest, dest_num, dest_named) do { \
1921-
int _num_varargs = _num_args - _i; \
1921+
uint32_t _num_varargs = _num_args - _i; \
19221922
if (EXPECTED(_num_varargs > 0)) { \
19231923
dest = _real_arg + 1; \
19241924
dest_num = _num_varargs; \

0 commit comments

Comments
 (0)