From 222cd2565fcbecb6268f5f42c632264d15d688ba Mon Sep 17 00:00:00 2001 From: Ross Bencina Date: Sun, 11 Sep 2016 00:16:05 +1000 Subject: [PATCH] wmme: fix int/char conversion warning --- src/hostapi/wmme/pa_win_wmme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index 5f373f5..a3b0cf2 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -672,11 +672,11 @@ static void DetectDefaultSampleRate( PaWinMmeDeviceInfo *winMmeDeviceInfo, int w #ifdef PAWIN_USE_WDMKS_DEVICE_INFO -static int QueryWaveInKSFilterMaxChannels( int waveInDeviceId, int *maxChannels ) +static char QueryWaveInKSFilterMaxChannels( int waveInDeviceId, int *maxChannels ) { void *devicePath; DWORD devicePathSize; - int result = 0; + char result = 0; if( waveInMessage((HWAVEIN)waveInDeviceId, DRV_QUERYDEVICEINTERFACESIZE, (DWORD_PTR)&devicePathSize, 0 ) != MMSYSERR_NOERROR ) -- 2.43.0