Added an explicit cast of (LPCTSRT) on line 4626, which seemed necessary when compili...
authorGary Scavone <gary@music.mcgill.ca>
Wed, 23 Apr 2014 19:56:07 +0000 (15:56 -0400)
committerGary Scavone <gary@music.mcgill.ca>
Wed, 23 Apr 2014 19:56:07 +0000 (15:56 -0400)
RtAudio.cpp

index 9760c7cad115ba23f18b12a6b7b8c633f3cccd62..28e80202a8545508348da86c27d390b1a2336d2d 100644 (file)
@@ -4623,7 +4623,7 @@ void RtApiWasapi::wasapiThread()
   RtAudioError::Type errorType = RtAudioError::DRIVER_ERROR;\r
 \r
   // Attempt to assign "Pro Audio" characteristic to thread\r
-  HMODULE AvrtDll = LoadLibrary( "AVRT.dll" );\r
+  HMODULE AvrtDll = LoadLibrary( (LPCTSTR) "AVRT.dll" );\r
   if ( AvrtDll ) {\r
     DWORD taskIndex = 0;\r
     TAvSetMmThreadCharacteristicsPtr AvSetMmThreadCharacteristicsPtr = ( TAvSetMmThreadCharacteristicsPtr ) GetProcAddress( AvrtDll, "AvSetMmThreadCharacteristicsW" );\r