From 9b3501bfe440e59d0b988446f75fb91c322aa098 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 2 Oct 2012 11:03:43 +0100 Subject: [PATCH] Avoided some warnings in the AU wrapper. --- .../juce_audio_plugin_client/AU/juce_AU_Wrapper.mm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm index 2d7ad81ceb..883cf8278b 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm @@ -36,7 +36,12 @@ #define JUCE_SUPPORT_CARBON 0 #endif -#include "../utility/juce_IncludeSystemHeaders.h" +#ifdef __clang__ + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wshorten-64-to-32" +#endif + +include "../utility/juce_IncludeSystemHeaders.h" #include #include @@ -71,6 +76,10 @@ class JuceAUView; #endif +#ifdef __clang__ + #pragma clang diagnostic pop +#endif + #define JUCE_MAC_WINDOW_VISIBITY_BODGE 1 #include "../utility/juce_IncludeModuleHeaders.h"