Review URL: http://codereview.chromium.org/5712001
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5956
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
}
*(write_cursor++) = '"';
- int final_length =
+ int final_length = static_cast<int>(
write_cursor - reinterpret_cast<Char*>(
- new_string->address() + SeqAsciiString::kHeaderSize);
+ new_string->address() + SeqAsciiString::kHeaderSize));
Heap::new_space()->ShrinkStringAtAllocationBoundary<StringType>(new_string,
final_length);
return new_string;