Index: pdfium/third_party/base/logging.h
--- pdfium/third_party/base/logging.h.orig
+++ pdfium/third_party/base/logging.h
@@ -10,7 +10,7 @@
 
 #ifndef _WIN32
 #define NULL_DEREF_IF_POSSIBLE \
-  *(reinterpret_cast<volatile char*>(NULL) + 42) = 0x42;
+  *(static_cast<volatile char*>(nullptr) + 42) = 0x42;
 #else
 #define NULL_DEREF_IF_POSSIBLE
 #endif
