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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index 4eca314da16f..d4dd3630b341 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -60,7 +60,7 @@ int debug(const char *format, ...);
#define YYFLAG -32768
#define YYNTBASE 43
-#define YYTRANSLATE(x) ((unsigned)(x) <= 285 ? yytranslate[x] : 66)
+#define YYTRANSLATE(x) (static_cast<unsigned>(x) <= 285 ? yytranslate[x] : 66)
static const char yytranslate[] = { 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,