blob: 4be9426fa92279110e0bb4023b63c34621f4e228 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- base/threading/thread_local_storage_unittest.cc.orig 2021-01-07 00:36:18 UTC
+++ base/threading/thread_local_storage_unittest.cc
@@ -86,7 +86,7 @@ class ThreadLocalStorageRunner : public DelegateSimple
void ThreadLocalStorageCleanup(void *value) {
int *ptr = reinterpret_cast<int*>(value);
// Destructors should never be called with a NULL.
- ASSERT_NE(reinterpret_cast<int*>(NULL), ptr);
+ ASSERT_NE(static_cast<int*>(NULL), ptr);
if (*ptr == kFinalTlsValue)
return; // We've been called enough times.
ASSERT_LT(kFinalTlsValue, *ptr);
|