diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-02 21:14:54 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-03 10:31:53 -0500 |
commit | 5db9599e7e3b799990cb7988c07ac37eaba4f8d2 (patch) | |
tree | c2de50754f03decd7880a714c0367bac9473a40b | |
parent | 9952f774e99ac18779114022dcab09e91da39dcf (diff) |
some windows build fixes
-rw-r--r-- | libs/ardour/vst_search_path.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/vst_search_path.cc b/libs/ardour/vst_search_path.cc index a6b326da43..78814306cd 100644 --- a/libs/ardour/vst_search_path.cc +++ b/libs/ardour/vst_search_path.cc @@ -35,7 +35,8 @@ vst_search_path () HKEY hKey; DWORD dwSize = PATH_MAX; char* p = 0; - gchar *user_home = 0; + char* user_home = 0; + char tmp[PATH_MAX+1]; if (ERROR_SUCCESS == RegOpenKeyExA (HKEY_CURRENT_USER, "Software\\VST", 0, KEY_READ, &hKey)) { // Look for the user's VST Registry entry |