Index: runtime/vm/weak_table.h |
diff --git a/runtime/vm/weak_table.h b/runtime/vm/weak_table.h |
index 01a607baa870aedb05006feb5609abd9791f950a..2c40aa3af289107fb5158bbe5f15eb2884283685 100644 |
--- a/runtime/vm/weak_table.h |
+++ b/runtime/vm/weak_table.h |
@@ -154,7 +154,7 @@ class WeakTable { |
void Rehash(); |
static intptr_t Hash(RawObject* key) { |
- return reinterpret_cast<intptr_t>(key) * 92821; |
+ return reinterpret_cast<uintptr_t>(key) * 92821; |
} |
// data_ contains size_ tuples of key/value. |