From 2e74c8982d47526ce7782e074b3ebf14d20cd86a Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 26 Apr 2019 21:53:24 +1000 Subject: [PATCH] Fix return value of ma_thread_create__posix(). --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 83494d0b..e63e20e9 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -4438,7 +4438,7 @@ typedef int (* ma_pthread_attr_setschedpolicy_proc)(pthread_attr_t *attr, int po typedef int (* ma_pthread_attr_getschedparam_proc)(const pthread_attr_t *attr, struct sched_param *param); typedef int (* ma_pthread_attr_setschedparam_proc)(pthread_attr_t *attr, const struct sched_param *param); -ma_bool32 ma_thread_create__posix(ma_context* pContext, ma_thread* pThread, ma_thread_entry_proc entryProc, void* pData) +ma_result ma_thread_create__posix(ma_context* pContext, ma_thread* pThread, ma_thread_entry_proc entryProc, void* pData) { pthread_attr_t* pAttr = NULL;