summaryrefslogtreecommitdiff
path: root/sal/rtl/alloc_impl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/alloc_impl.hxx')
-rw-r--r--sal/rtl/alloc_impl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/alloc_impl.hxx b/sal/rtl/alloc_impl.hxx
index 05ec242889a7..61c0e88100e5 100644
--- a/sal/rtl/alloc_impl.hxx
+++ b/sal/rtl/alloc_impl.hxx
@@ -163,7 +163,7 @@ lowbit(sal_Size n)
typedef pthread_mutex_t rtl_memory_lock_type;
-#define RTL_MEMORY_LOCK_INIT(lock) pthread_mutex_init((lock), NULL)
+#define RTL_MEMORY_LOCK_INIT(lock) pthread_mutex_init((lock), nullptr)
#define RTL_MEMORY_LOCK_DESTROY(lock) pthread_mutex_destroy((lock))
#define RTL_MEMORY_LOCK_ACQUIRE(lock) pthread_mutex_lock((lock))