| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 8f96f4bf8937c2697aad58514d2602c76418c6b5..95fea73a7a9d85fdd86eaaeb473a77838e8d346e 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -3319,8 +3319,8 @@ MUST_USE_RESULT static inline MaybeObject* MakeOrFindTwoCharacterString(
|
| if (!maybe_result->ToObject(&result)) return maybe_result;
|
| }
|
| char* dest = SeqOneByteString::cast(result)->GetChars();
|
| - dest[0] = c1;
|
| - dest[1] = c2;
|
| + dest[0] = static_cast<char>(c1);
|
| + dest[1] = static_cast<char>(c2);
|
| return result;
|
| } else {
|
| Object* result;
|
|
|