mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 23:48:14 +00:00
glr.c: add missing cast
Reported by psjo. Fixes https://github.com/akimd/bison/issues/19. * data/skeletons/glr.c (yyprocessOneStack): Here.
This commit is contained in:
1 parent
04f3bfc596
commit
2cb52c5a91
1 file changed
+2
-1
@@ -1985,7 +1985,8 @@ yyprocessOneStack (yyGLRStack* yystackp, ptrdiff_t yyk,
|
||||
while (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
|
||||
{
|
||||
yyStateNum yystate = yystackp->yytops.yystates[yyk]->yylrState;
|
||||
YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n", yyk, yystate));
|
||||
YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n",
|
||||
YY_CAST (long, yyk), yystate));
|
||||
|
||||
YY_ASSERT (yystate != YYFINAL);
|
||||
|
||||
|
||||
Reference in new issue
Block a user