From cf76214c53788effec9c2e9cf14dbfc91887921e Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Mon, 3 Aug 2009 15:59:22 +0000 Subject: Use intptr_t for casting pointers for 64-bit. Review URL: http://codereview.chromium.org/160522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22269 0039d316-1c4b-4281-b951-d872f2087c98 --- base/thread_local_storage_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') 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(123)); - int value = reinterpret_cast(slot.Get()); + int value = reinterpret_cast(slot.Get()); EXPECT_EQ(value, 123); } -- cgit v1.1