summaryrefslogtreecommitdiff
path: root/test/quote_calc3-s.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/quote_calc3-s.tab.c')
-rw-r--r--test/quote_calc3-s.tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/quote_calc3-s.tab.c b/test/quote_calc3-s.tab.c
index 0953fbb..480224a 100644
--- a/test/quote_calc3-s.tab.c
+++ b/test/quote_calc3-s.tab.c
@@ -382,7 +382,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;