Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 2255de66f2ca9fdd1679fd14c208ee2eceb58b96..bcec6453bc79f9a6cc1c6531ae46b75bd4bb05a8 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -162,7 +162,7 @@ template<int heapIndex> |
struct HeapIndexTraitBase { |
typedef ThreadHeap<FinalizedHeapObjectHeader> HeapType; |
static const int finalizedIndex = heapIndex; |
- static const int nonFinalizedIndex = heapIndex + NonFinalizedHeapOffset; |
+ static const int nonFinalizedIndex = heapIndex + static_cast<int>(NonFinalizedHeapOffset); |
static int index(bool isFinalized) |
{ |
return isFinalized ? finalizedIndex : nonFinalizedIndex; |