diff --git a/src/switch_apr.c b/src/switch_apr.c index e2e33554b7..73d0197e19 100644 --- a/src/switch_apr.c +++ b/src/switch_apr.c @@ -74,7 +74,7 @@ SWITCH_DECLARE(switch_thread_id_t) switch_thread_self(void) #ifndef WIN32 return apr_os_thread_current(); #else - return (GetCurrentThreadId()); + return (switch_thread_id_t)(GetCurrentThreadId()); #endif }