diff --git a/src/common/pa_front.c b/src/common/pa_front.c index 9fe3771..5c2eecb 100644 --- a/src/common/pa_front.c +++ b/src/common/pa_front.c @@ -1960,4 +1960,4 @@ PaError Pa_GetSampleSize( PaSampleFormat format ) PA_LOGAPI_EXIT_PAERROR_OR_T_RESULT( "Pa_GetSampleSize", "int: %d", result ); return (PaError) result; -} \ No newline at end of file +} diff --git a/src/os/win/pa_win_hotplug.c b/src/os/win/pa_win_hotplug.c index 093c087..5bc2871 100644 --- a/src/os/win/pa_win_hotplug.c +++ b/src/os/win/pa_win_hotplug.c @@ -326,7 +326,7 @@ void PaUtil_TerminateHotPlug() PostMessage(s_handler->hWnd, WM_QUIT, 0, 0); if (WaitForSingleObject(s_handler->hMsgThread, 1000) == WAIT_TIMEOUT) { - TerminateThread(s_handler->hMsgThread, -1); + TerminateThread(s_handler->hMsgThread, (DWORD)-1); } } DeleteCriticalSection(&s_handler->lock);