64bit windows VSTs
[ardour.git] / libs / ardour / windows_vst_plugin.cc
index 03170e0d04a6db3a25889c9adf53d2b3a704cb15..823b96cffe2afb690ab40cde7da592d06ceadbf2 100644 (file)
@@ -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)));