From f33048b20cb58ae11b01e098bb994969d1164a43 Mon Sep 17 00:00:00 2001 From: rbencina Date: Wed, 31 Oct 2012 06:20:59 +0000 Subject: [PATCH] fix for unicode build --- 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 fdd238b..e36ec6e 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -450,7 +450,7 @@ static PaDeviceIndex GetEnvDefaultDeviceID( char *envName ) #ifndef WIN32_PLATFORM_PSPC /* no GetEnvironmentVariable on PocketPC */ /* Let user determine default device by setting environment variable. */ - hresult = GetEnvironmentVariable( envName, envbuf, PA_ENV_BUF_SIZE_ ); + hresult = GetEnvironmentVariableA( envName, envbuf, PA_ENV_BUF_SIZE_ ); if( (hresult > 0) && (hresult < PA_ENV_BUF_SIZE_) ) { recommendedIndex = atoi( envbuf ); -- 2.43.0