Commit 0b06fa3d authored by sandholm@chromium.org's avatar sandholm@chromium.org

Fix Win compilation issue introduced in r8081.

Review URL: http://codereview.chromium.org/7074009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8086 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3f8a1917
......@@ -5109,7 +5109,7 @@ static inline SinkChar* WriteQuoteJsonString(
SourceChar c = *(read_cursor++);
if (sizeof(SourceChar) > 1u &&
static_cast<unsigned>(c) >= kQuoteTableLength) {
*(write_cursor++) = c;
*(write_cursor++) = static_cast<SinkChar>(c);
} else {
int len = JsonQuoteLengths[static_cast<unsigned>(c)];
const char* replacement = JsonQuotes +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment