Browse Source

Fixed error in C++11 mode of int64_t handling

master
Artyom Beilis 7 years ago
parent
commit
858c73fd86
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      booster/lib/locale/src/icu/formatter.cpp

+ 1
- 1
booster/lib/locale/src/icu/formatter.cpp View File

@@ -58,7 +58,7 @@ namespace locale {
virtual string_type format(int64_t value,size_t &code_points) const
{
icu::UnicodeString tmp;
icu_fmt_->format(value,tmp);
icu_fmt_->format(static_cast< ::int64_t>(value),tmp);
code_points=tmp.countChar32();
return cvt_.std(tmp);
}


Loading…
Cancel
Save