summaryrefslogtreecommitdiff
path: root/test/quote_calc2.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/quote_calc2.tab.c')
-rw-r--r--test/quote_calc2.tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/quote_calc2.tab.c b/test/quote_calc2.tab.c
index 958a736..159954a 100644
--- a/test/quote_calc2.tab.c
+++ b/test/quote_calc2.tab.c
@@ -387,7 +387,7 @@ static int yygrowstack(YYSTACKDATA *data)
else if ((newsize *= 2) > YYMAXDEPTH)
newsize = YYMAXDEPTH;
- i = data->s_mark - data->s_base;
+ i = (int) (data->s_mark - data->s_base);
newss = (short *)realloc(data->s_base, newsize * sizeof(*newss));
if (newss == 0)
return -1;