summaryrefslogtreecommitdiff
path: root/libs/ardour/windows_vst_plugin.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-05 18:11:11 +0200
committerRobin Gareus <robin@gareus.org>2014-10-05 18:11:11 +0200
commit94e7015c70a22c8834ce082f954160f79cbaed94 (patch)
treeba57e10fd7b4062dbbb812dd4bc85b23a524a116 /libs/ardour/windows_vst_plugin.cc
parent114296d9586c957070c1d3ee940e4de8101e3e33 (diff)
64bit windows VSTs
Diffstat (limited to 'libs/ardour/windows_vst_plugin.cc')
-rw-r--r--libs/ardour/windows_vst_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/windows_vst_plugin.cc b/libs/ardour/windows_vst_plugin.cc
index 03170e0d04..823b96cffe 100644
--- a/libs/ardour/windows_vst_plugin.cc
+++ b/libs/ardour/windows_vst_plugin.cc
@@ -71,7 +71,7 @@ WindowsVSTPluginInfo::load (Session& session)
handle = fst_load(path.c_str());
- if ((int) handle == -1) {
+ if (!handle) {
error << string_compose(_("VST: cannot load module from \"%1\""), path) << endmsg;
} else {
plugin.reset (new WindowsVSTPlugin (session.engine(), session, handle, PBD::atoi(unique_id)));