From 4ca315146dd2b5ddb5fc859dd33c229c6ddd53bf Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Wed, 23 Apr 2014 15:56:07 -0400 Subject: Added an explicit cast of (LPCTSRT) on line 4626, which seemed necessary when compiling with UNICODE defined. --- RtAudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RtAudio.cpp') diff --git a/RtAudio.cpp b/RtAudio.cpp index 9760c7c..28e8020 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -4623,7 +4623,7 @@ void RtApiWasapi::wasapiThread() RtAudioError::Type errorType = RtAudioError::DRIVER_ERROR; // Attempt to assign "Pro Audio" characteristic to thread - HMODULE AvrtDll = LoadLibrary( "AVRT.dll" ); + HMODULE AvrtDll = LoadLibrary( (LPCTSTR) "AVRT.dll" ); if ( AvrtDll ) { DWORD taskIndex = 0; TAvSetMmThreadCharacteristicsPtr AvSetMmThreadCharacteristicsPtr = ( TAvSetMmThreadCharacteristicsPtr ) GetProcAddress( AvrtDll, "AvSetMmThreadCharacteristicsW" ); -- cgit v1.2.3