Skip to content

Commit

Permalink
Fix php-ds#88 use correct type for variadic
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Aug 9, 2017
1 parent ea975a8 commit a58289f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/php/parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ PARSE_2("zl", &z, &l)

#define PARSE_VARIADIC_ZVAL() \
zval *argv = NULL; \
zend_long argc = 0; \
int argc = 0; \
PARSE_2("*", &argv, &argc)

#define PARSE_LONG_AND_VARIADIC_ZVAL(_l) \
zval *argv = NULL; \
zend_long argc = 0; \
int argc = 0; \
zend_long _l = 0; \
PARSE_3("l*", &_l, &argv, &argc)

Expand Down

0 comments on commit a58289f

Please sign in to comment.