summaryrefslogtreecommitdiff
path: root/hwpfilter/source/grammar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/grammar.cxx')
-rw-r--r--hwpfilter/source/grammar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index bfde898d667c..979d15e14550 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -615,10 +615,10 @@ yynewstate:
#ifndef YYSTACK_USE_ALLOCA
yyfree_stacks = 1;
#endif
- yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
+ yyss = static_cast<short *>(YYSTACK_ALLOC (yystacksize * sizeof (*yyssp)));
memcpy (yyss, yyss1,
size * (unsigned int) sizeof (*yyssp));
- yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
+ yyvs = static_cast<YYSTYPE *>(YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp)));
memcpy (yyvs, yyvs1,
size * (unsigned int) sizeof (*yyvsp));
#ifdef YYLSP_NEEDED