Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: regexp2000/src/string-stream.cc

Issue 9686: * Small fixes to make experimental branch compile on Windows. (Closed)
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « regexp2000/src/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: regexp2000/src/string-stream.cc
diff --git a/regexp2000/src/string-stream.cc b/regexp2000/src/string-stream.cc
index 4390fa17cd932e9dda9271846298025248eb26cd..361fe55842f63c26f3132eab3e881d596a926956 100644
--- a/regexp2000/src/string-stream.cc
+++ b/regexp2000/src/string-stream.cc
@@ -131,7 +131,7 @@ void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) {
ASSERT_EQ(FmtElm::LC_STR, current.type_);
Vector<const uc16> value = *current.data_.u_lc_str_;
for (int i = 0; i < value.length(); i++)
- Put(value[i]);
+ Put(static_cast<char>(value[i]));
break;
}
case 'o': {
« no previous file with comments | « regexp2000/src/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698