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
This commit is contained in:
sandholm@chromium.org 2011-05-26 14:41:11 +00:00
parent 3f8a191725
commit 0b06fa3dcc

View File

@ -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 +