From 7d3330da740dd9b61d4750850326c8a08e6d66d1 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Wed, 6 Sep 2017 23:01:08 -0400 Subject: [PATCH] use DWORD to avoid type mismatch --- libretro-common/rthreads/rthreads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/rthreads/rthreads.c b/libretro-common/rthreads/rthreads.c index 31c76cbc9c..93f7425b33 100644 --- a/libretro-common/rthreads/rthreads.c +++ b/libretro-common/rthreads/rthreads.c @@ -160,7 +160,7 @@ sthread_t *sthread_create(void (*thread_func)(void*), void *userdata) struct thread_data *data = NULL; sthread_t *thread = (sthread_t*)calloc(1, sizeof(*thread)); #if defined(_WIN32_WINNT) && _WIN32_WINNT <= 0x0410 - uint32_t thread_id = 0; + DWORD thread_id = 0; #endif if (!thread) return NULL;