Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / base / strings / utf_string_conversion_utils.cc
index 09a003d..022c0df 100644 (file)
@@ -71,7 +71,7 @@ bool ReadUnicodeCharacter(const wchar_t* src,
 size_t WriteUnicodeCharacter(uint32 code_point, std::string* output) {
   if (code_point <= 0x7f) {
     // Fast path the common case of one byte.
-    output->push_back(code_point);
+    output->push_back(static_cast<char>(code_point));
     return 1;
   }