Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 8081) |
+++ src/runtime.cc (working copy) |
@@ -5109,7 +5109,7 @@ |
SourceChar c = *(read_cursor++); |
if (sizeof(SourceChar) > 1u && |
static_cast<unsigned>(c) >= kQuoteTableLength) { |
- *(write_cursor++) = c; |
+ *(write_cursor++) = static_cast<SinkChar>(c); |
Rico
2011/05/26 14:42:09
Well actually, consider making a comment why this
|
} else { |
int len = JsonQuoteLengths[static_cast<unsigned>(c)]; |
const char* replacement = JsonQuotes + |