Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index af40e983b9a480e4d0ce6993764b1c6ef7888fc1..58cde3b10a215a230565f776f36fc1a9eab0b784 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4723,9 +4723,9 @@ static MaybeObject* QuoteJsonString(Vector<const Char> characters) { |
} |
*(write_cursor++) = '"'; |
- int final_length = static_cast<int>( |
+ int final_length = |
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; |