diff --git a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm index cac8e7a14d..833a04856d 100644 --- a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm +++ b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm @@ -910,9 +910,9 @@ private: { if (currentBuffer != nullptr) { - jassert (inNumberFrames == currentBuffer->getNumSamples()); // if this ever happens, might need to add extra handling + jassert (inNumberFrames == (UInt32) currentBuffer->getNumSamples()); // if this ever happens, might need to add extra handling - for (int i = 0; i < ioData->mNumberBuffers; ++i) + for (UInt32 i = 0; i < ioData->mNumberBuffers; ++i) { const int bufferChannel = inBusNumber * numInputBusChannels + i; @@ -940,7 +940,7 @@ private: const double time = Time::getMillisecondCounterHiRes() * 0.001; const MIDIPacket* packet = &pktlist->packet[0]; - for (int i = 0; i < pktlist->numPackets; ++i) + for (UInt32 i = 0; i < pktlist->numPackets; ++i) { midiConcatenator.pushMidiData (packet->data, (int) packet->length, time, (void*) nullptr, *this); packet = MIDIPacketNext (packet); @@ -1110,7 +1110,7 @@ private: int maximumNumIns = 0; int maximumNumOuts = 0; - for (int i = 0; i < supportedChannelsSize / sizeof (AUChannelInfo); ++i) + for (int i = 0; i < (int) (supportedChannelsSize / sizeof (AUChannelInfo)); ++i) { const int inChannels = (int) supportedChannels[i].inChannels; const int outChannels = (int) supportedChannels[i].outChannels; diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index ad9c82ff12..399fb05917 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -1823,7 +1823,7 @@ private: String s; - if (v == 0 || v == -1) + if (v == 0 || (int) v == -1) v = getVersionNumber(); if (v != 0) @@ -2576,7 +2576,7 @@ private: return true; } - void mouseDown (int x, int y) + void handleMouseDown (int x, int y) { if (! alreadyInside) { @@ -2591,7 +2591,7 @@ private: } } - void paint() + void handlePaint() { if (ComponentPeer* const peer = getPeer()) { diff --git a/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h b/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h index 94bc50ef4b..d6204004c3 100644 --- a/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h +++ b/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h @@ -55,8 +55,8 @@ public: virtual HIViewRef attachView (WindowRef windowRef, HIViewRef rootView) = 0; virtual void removeView (HIViewRef embeddedView) = 0; - virtual void mouseDown (int, int) {} - virtual void paint() {} + virtual void handleMouseDown (int, int) {} + virtual void handlePaint() {} virtual bool getEmbeddedViewSize (int& w, int& h) {