From 94e7015c70a22c8834ce082f954160f79cbaed94 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 5 Oct 2014 18:11:11 +0200 Subject: 64bit windows VSTs --- libs/ardour/windows_vst_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/windows_vst_plugin.cc') 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))); -- cgit v1.2.3