From d5cd1663db4cfb1b158114b9f7499fc334e40b6b Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 9 Mar 2014 09:12:35 +0000 Subject: [PATCH] Fixed a VS compile problem. --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 01381e05aa..04f74d9045 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -766,7 +766,7 @@ public: // Adobe Audition CS6 hack to avoid trying to use corrupted streams: if (getHostType().isAdobeAudition()) if (s->getSize() >= 5 && memcmp (s->getData(), "VC2!E", 5) == 0) - return kResultFalse; + return false; pluginInstance->setStateInformation (s->getData(), (int) s->getSize()); return true; @@ -785,9 +785,9 @@ public: for (;;) { - int32 bytesRead = 0; + Steinberg::int32 bytesRead = 0; - if (state->read (buffer, (int32) bytesPerBlock, &bytesRead) == kResultTrue && bytesRead > 0) + if (state->read (buffer, (Steinberg::int32) bytesPerBlock, &bytesRead) == kResultTrue && bytesRead > 0) { allData.write (buffer, bytesRead); continue;