From 0b06fa3dcc876f3f81067505d0efd8957ca76005 Mon Sep 17 00:00:00 2001 From: "sandholm@chromium.org" Date: Thu, 26 May 2011 14:41:11 +0000 Subject: [PATCH] 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 --- src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index 8ee4102..7d9ec3c 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -5109,7 +5109,7 @@ static inline SinkChar* WriteQuoteJsonString( SourceChar c = *(read_cursor++); if (sizeof(SourceChar) > 1u && static_cast(c) >= kQuoteTableLength) { - *(write_cursor++) = c; + *(write_cursor++) = static_cast(c); } else { int len = JsonQuoteLengths[static_cast(c)]; const char* replacement = JsonQuotes + -- 2.7.4