From 93ba4d98cff8ae0d643422b612f9432c3b1b0cfe Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 24 Mar 2022 17:01:55 +0000 Subject: [PATCH] Fix clang warnings --- modules/juce_graphics/image_formats/juce_PNGLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_graphics/image_formats/juce_PNGLoader.cpp b/modules/juce_graphics/image_formats/juce_PNGLoader.cpp index cec62e0c4a..866679a3b1 100644 --- a/modules/juce_graphics/image_formats/juce_PNGLoader.cpp +++ b/modules/juce_graphics/image_formats/juce_PNGLoader.cpp @@ -63,7 +63,8 @@ namespace pnglibNamespace "-Wtautological-constant-out-of-range-compare", "-Wzero-as-null-pointer-constant", "-Wcomma", - "-Wmaybe-uninitialized") + "-Wmaybe-uninitialized", + "-Wnull-pointer-subtraction") #undef check using std::abs;