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:
parent
4cefb3707c
commit
ee76137441
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue