Revision: 7730 Author: [email protected] Date: Fri Apr 29 09:26:37 2011 Log: Fix windows build.
[email protected] Review URL: http://codereview.chromium.org/6901125 http://code.google.com/p/v8/source/detail?r=7730 Modified: /branches/bleeding_edge/src/log.cc ======================================= --- /branches/bleeding_edge/src/log.cc Fri Apr 29 09:06:25 2011 +++ /branches/bleeding_edge/src/log.cc Fri Apr 29 09:26:37 2011 @@ -469,7 +469,7 @@ for (int i = 0; i < uc16_length && utf8_pos_ < kUtf8BufferSize; ++i) { uc16 c = uc16_buffer_[i]; if (c <= String::kMaxAsciiCharCodeU) { - utf8_buffer_[utf8_pos_++] = c; + utf8_buffer_[utf8_pos_++] = static_cast<char>(c); } else { int char_length = unibrow::Utf8::Length(c); if (utf8_pos_ + char_length > kUtf8BufferSize) break; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
