diff src/vamp-hostsdk/PluginHostAdapter.cpp @ 259:7d678f889789 vamp-plugin-sdk-v2.0pre1

...
author cannam
date Fri, 14 Nov 2008 13:53:32 +0000
parents 7b90fe049d04
children 4454843ff384
line wrap: on
line diff
--- a/src/vamp-hostsdk/PluginHostAdapter.cpp	Fri Nov 14 12:30:23 2008 +0000
+++ b/src/vamp-hostsdk/PluginHostAdapter.cpp	Fri Nov 14 13:53:32 2008 +0000
@@ -96,7 +96,7 @@
         }
 #ifdef _WIN32
         char *cpfiles = getenv("ProgramFiles");
-        if (!cpfiles) cpfiles = "C:\\Program Files";
+        if (!cpfiles) cpfiles = (char *)"C:\\Program Files";
         std::string pfiles(cpfiles);
         std::string::size_type f;
         while ((f = envPath.find("%ProgramFiles%")) != std::string::npos &&