]> Repos - portaudio/commitdiff
wmme: fixed signed/unsigned mismatch warning
authorRoss Bencina <rossb@audiomulch.com>
Sat, 10 Sep 2016 14:26:34 +0000 (00:26 +1000)
committerRoss Bencina <rossb@audiomulch.com>
Sat, 10 Sep 2016 14:26:34 +0000 (00:26 +1000)
src/hostapi/wmme/pa_win_wmme.c

index 2da90f4578d9fa6c244c9d16edfb79e88ead2f92..ad7729874cc9fefcf2c875202588b7b0820bb814 100644 (file)
@@ -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;
         }