1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Fixed some compiler warnings

This commit is contained in:
Tom Poole 2021-04-16 16:44:05 +01:00
parent 4cefb3707c
commit ee76137441
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,7 @@ struct IntegerWithBitSize
IntegerWithBitSize (uint32 v) noexcept : value (v)
{
static_assert (numBits <= 32, "numBits must be <= 32");
jassert (v >= 0 && v <= maxValue);
jassert (v <= maxValue);
}
enum

View file

@ -62,7 +62,8 @@ namespace pnglibNamespace
"-Wimplicit-fallthrough",
"-Wtautological-constant-out-of-range-compare",
"-Wzero-as-null-pointer-constant",
"-Wcomma")
"-Wcomma",
"-Wmaybe-uninitialized")
#undef check
using std::abs;