mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
13 lines
459 B
Diff
13 lines
459 B
Diff
diff --git a/3rdparty/pdfium/third_party/base/logging.h b/3rdparty/pdfium/third_party/base/logging.h
|
|
index bf4faea..b1e6a7f 100644
|
|
--- a/3rdparty/pdfium/third_party/base/logging.h
|
|
+++ b/3rdparty/pdfium/third_party/base/logging.h
|
|
@@ -10,7 +10,7 @@
|
|
|
|
#ifndef _WIN32
|
|
#define NULL_DEREF_IF_POSSIBLE \
|
|
- *(reinterpret_cast<volatile char*>(NULL) + 42) = 0x42;
|
|
+ *(reinterpret_cast<volatile char*>(0) + 42) = 0x42;
|
|
#else
|
|
#define NULL_DEREF_IF_POSSIBLE
|
|
#endif
|