Skip to content

Commit 0ae17c7

Browse files
committed
Use YYSIZE_T instead of size_t
1 parent f6380e4 commit 0ae17c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_language_parser.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ isset_variable:
17371737
static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
17381738
{
17391739
const char *toktype = yystr;
1740-
size_t toktype_len = strlen(toktype);
1740+
YYSIZE_T toktype_len = strlen(toktype);
17411741

17421742
/* CG(parse_error) states:
17431743
* 0 => yyres = NULL, yystr is the unexpected token
@@ -1753,7 +1753,7 @@ static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
17531753
/* The unexpected token */
17541754
char buffer[120];
17551755
const unsigned char *tokcontent, *tokcontent_end;
1756-
size_t tokcontent_len;
1756+
YYSIZE_T tokcontent_len;
17571757

17581758
CG(parse_error)++;
17591759

0 commit comments

Comments
 (0)