hotplug: fix signed/unsigned parameter warning in pa_win_hotplug.c
This commit is contained in:
parent
0a290773de
commit
231ecf77c7
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ void PaUtil_TerminateHotPlug()
|
||||||
PostMessage(s_handler->hWnd, WM_QUIT, 0, 0);
|
PostMessage(s_handler->hWnd, WM_QUIT, 0, 0);
|
||||||
if (WaitForSingleObject(s_handler->hMsgThread, 1000) == WAIT_TIMEOUT)
|
if (WaitForSingleObject(s_handler->hMsgThread, 1000) == WAIT_TIMEOUT)
|
||||||
{
|
{
|
||||||
TerminateThread(s_handler->hMsgThread, -1);
|
TerminateThread(s_handler->hMsgThread, (DWORD)-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DeleteCriticalSection(&s_handler->lock);
|
DeleteCriticalSection(&s_handler->lock);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue