Remove a warning (WINDOWS)

This commit is contained in:
Patrick Pelissier committed 2019-12-06 21:10:00 +01:00
1 parent 261776762c
commit a39cf23697
1 file changed
+1 -1
+1 -1
View File
@@ -193,7 +193,7 @@ static inline void m_cond_wait(m_cond_t c, m_mutex_t m)
static inline void m_thread_create(m_thread_t t, void (*func)(void*), void *arg)
{
*t = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) func, arg, 0, NULL);
*t = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) (uintptr_t) func, arg, 0, NULL);
M_ASSERT_INIT (*t != NULL, "thread");
}