--- linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceAsio.cpp 2009/05/03 10:47:09 1894 +++ linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceAsio.cpp 2009/05/03 12:15:40 1895 @@ -138,13 +138,13 @@ std::vector getAsioDriverNames(); -static bool ASIO_loadAsioDriver(char *name) +static bool ASIO_loadAsioDriver(const char *name) { dmsg(2,("ASIO_loadAsioDriver: trying to load '%s'\n",name)); #ifdef WINDOWS CoInitialize(0); #endif - return loadAsioDriver(name); + return loadAsioDriver(const_cast(name)); } int ASIO_OpenAndQueryDeviceInfo(char *driverName, DriverInfo *driverInfo, ASIODriverInfo *asioDriverInfo) @@ -933,7 +933,7 @@ } String AudioOutputDeviceAsio::Version() { - String s = "$Revision: 1.3 $"; + String s = "$Revision: 1.4 $"; return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword }