From: Ross Bencina Date: Sat, 10 Sep 2016 14:26:34 +0000 (+1000) Subject: wmme: fixed signed/unsigned mismatch warning X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=bc78eab81d5f2413cada10c9d6cfd5250db746a0;p=portaudio wmme: fixed signed/unsigned mismatch warning --- 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; }