diff options
-rw-r--r-- | base/thread_local_storage_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread_local_storage_unittest.cc b/base/thread_local_storage_unittest.cc index f2ce8367..cb24c75 100644 --- a/base/thread_local_storage_unittest.cc +++ b/base/thread_local_storage_unittest.cc @@ -58,7 +58,7 @@ void ThreadLocalStorageCleanup(void *value) { TEST(ThreadLocalStorageTest, Basics) { ThreadLocalStorage::Slot slot; slot.Set(reinterpret_cast<void*>(123)); - int value = reinterpret_cast<int>(slot.Get()); + int value = reinterpret_cast<intptr_t>(slot.Get()); EXPECT_EQ(value, 123); } |