diff --git a/src/common/thread.h b/src/common/thread.h index 74c536cf2..c4d223084 100644 --- a/src/common/thread.h +++ b/src/common/thread.h @@ -29,7 +29,7 @@ static inline void ffThreadMutexLock(FFThreadMutex* mutex) { pthread_mutex_lock(mutex); } static inline void ffThreadMutexUnlock(FFThreadMutex* mutex) { pthread_mutex_unlock(mutex); } static inline FFThreadType ffThreadCreate(void* (* func)(void*), void* data) { - FFThreadType newThread = NULL; + FFThreadType newThread = 0; pthread_create(&newThread, NULL, func, data); return newThread; }