From 038a696aecffa3218589cf808cef0138e3bcc372 Mon Sep 17 00:00:00 2001 From: John Melas Date: Wed, 23 Jun 2021 03:15:57 +0300 Subject: [PATCH] pa_win_wmme.c: replace LPCTSTR with LPCWSTR (#597) --- 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 42a6601..22af147 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -329,13 +329,13 @@ static PaError CreateEventWithPaError( HANDLE *handle, LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, - LPCTSTR lpName ) + LPCWSTR lpName ) { PaError result = paNoError; *handle = NULL; - *handle = CreateEvent( lpEventAttributes, bManualReset, bInitialState, lpName ); + *handle = CreateEventW( lpEventAttributes, bManualReset, bInitialState, lpName ); if( *handle == NULL ) { result = paUnanticipatedHostError; -- 2.43.0