Created
November 6, 2014 20:50
-
-
Save rogerhub/9fb66eb0e5037f78f084 to your computer and use it in GitHub Desktop.
CPPCMS Patch for ICU format ambiguous definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: booster/lib/locale/src/icu/formatter.cpp | |
=================================================================== | |
--- booster/lib/locale/src/icu/formatter.cpp (revision 2283) | |
+++ booster/lib/locale/src/icu/formatter.cpp (working copy) | |
@@ -58,7 +58,7 @@ | |
virtual string_type format(int64_t value,size_t &code_points) const | |
{ | |
icu::UnicodeString tmp; | |
- icu_fmt_->format(value,tmp); | |
+ icu_fmt_->format(::int64_t(value),tmp); | |
code_points=tmp.countChar32(); | |
return cvt_.std(tmp); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment