Skip to content

Commit

Permalink
Merge pull request #99 from remicollet/issue-bigend2
Browse files Browse the repository at this point in the history
Fix #88 use correct type for variadic
  • Loading branch information
rtheunissen authored Aug 9, 2017
2 parents 9dd99a9 + b5148d3 commit 3c8a748
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 3c8a748

Please sign in to comment.