From bc78eab81d5f2413cada10c9d6cfd5250db746a0 Mon Sep 17 00:00:00 2001 From: Ross Bencina Date: Sun, 11 Sep 2016 00:26:34 +1000 Subject: [PATCH] wmme: fixed signed/unsigned mismatch warning --- src/hostapi/wmme/pa_win_wmme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index 2da90f4..ad77298 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -2901,7 +2901,7 @@ PA_THREAD_FUNC ProcessingThreadProc( void *pArg ) waitResult = WaitForMultipleObjects( eventCount, events, FALSE /* wait all = FALSE */, timeout ); if( waitResult == WAIT_FAILED ) { - result = paUnanticipatedHostError; + result = (DWORD)paUnanticipatedHostError; /** @todo FIXME/REVIEW: can't return host error info from an asyncronous thread. see http://www.portaudio.com/trac/ticket/143 */ done = 1; } -- 2.43.0