diff options
Diffstat (limited to 'hwpfilter/source/hbox.cxx')
-rw-r--r-- | hwpfilter/source/hbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index 388c990ee762..ca94bf27fe57 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -154,7 +154,7 @@ hchar_string DateCode::GetString() format[DATE_SIZE - 1] = 0; fmt = format[0] ? format : defaultform; - for (; *fmt && ((int) ret.size() < DATE_SIZE); fmt++) + for (; *fmt && (static_cast<int>(ret.size()) < DATE_SIZE); fmt++) { form = add_zero ? "%02d" : "%d"; |