aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared/OpenglCodecCommon/PortableMutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/OpenglCodecCommon/PortableMutex.h b/shared/OpenglCodecCommon/PortableMutex.h
index 4e86721b..b02ed617 100644
--- a/shared/OpenglCodecCommon/PortableMutex.h
+++ b/shared/OpenglCodecCommon/PortableMutex.h
@@ -44,7 +44,7 @@ static __inline__ void mutex_unlock(mutex_t* lock) {
}
static __inline__ int mutex_init(mutex_t* lock) {
- return pthread_mutex_init(lock, nullptr);
+ return pthread_mutex_init(lock, NULL);
}
static __inline__ void mutex_destroy(mutex_t* lock) {