summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-10 18:29:00 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-10 18:29:00 -0500
commita4273ee2247caeb32c3ea1f9ddd6b0fac67e95de (patch)
tree98a27ce35723671f6611e2ceb1c99c090186ef94 /libs
parent294b99aabf3eb96323a3159b7a5e1b4bfc1ff04a (diff)
Revert "fix some cast warnings"
This reverts commit 17707b9674958391949e59a724a264cdcc2d65ff.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/vst_info_file.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index 731f3e67e8..8088824de3 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -552,7 +552,7 @@ bool vstfx_midi_input (VSTState* vstfx)
if (vst_version >= 2) {
/* should we send it VST events (i.e. MIDI) */
- if ((plugin->flags & effFlagsIsSynth) || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast<char*> ("receiveVstEvents"), 0.0f) > 0)) {
+ if ((plugin->flags & effFlagsIsSynth) || (plugin->dispatcher (plugin, effCanDo, 0, 0,(void*) "receiveVstEvents", 0.0f) > 0)) {
return true;
}
}
@@ -570,8 +570,8 @@ bool vstfx_midi_output (VSTState* vstfx)
if (vst_version >= 2) {
/* should we send it VST events (i.e. MIDI) */
- if ( (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast<char*> ("sendVstEvents"), 0.0f) > 0)
- || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast<char*> ("sendVstMidiEvent"), 0.0f) > 0)
+ if ( (plugin->dispatcher (plugin, effCanDo, 0, 0,(void*) "sendVstEvents", 0.0f) > 0)
+ || (plugin->dispatcher (plugin, effCanDo, 0, 0,(void*) "sendVstMidiEvent", 0.0f) > 0)
) {
return true;
}