main_thread_id initial value should be 0, not NULL
This commit is contained in:
parent
8ee025636e
commit
d63c6b9706
|
@ -66,7 +66,7 @@ static struct retro_task_impl *impl_current = NULL;
|
|||
static bool task_threaded_enable = false;
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
static uintptr_t main_thread_id = NULL;
|
||||
static uintptr_t main_thread_id = 0;
|
||||
static slock_t *running_lock = NULL;
|
||||
static slock_t *finished_lock = NULL;
|
||||
static slock_t *property_lock = NULL;
|
||||
|
|
Loading…
Reference in New Issue