diff --git a/src/Magnum/Audio/Audio.cpp b/src/Magnum/Audio/Audio.cpp index 7758c1a63..b0d928545 100644 --- a/src/Magnum/Audio/Audio.cpp +++ b/src/Magnum/Audio/Audio.cpp @@ -35,7 +35,7 @@ namespace Magnum { namespace Audio { static_assert(std::is_same::value, "ALubyte is not the same as UnsignedByte"); /* ALbyte is defined as `signed char` in OpenAL Soft and `char` in the official SDK from Creative and on Apple. Both are okay. */ -static_assert(std::is_same::value || std::is_signed::value && sizeof(ALbyte) == 1, "ALbyte does not have the characteristics as Byte"); +static_assert(std::is_same::value || (std::is_signed::value && sizeof(ALbyte) == 1), "ALbyte does not have the characteristics as Byte"); static_assert(std::is_same::value, "ALushort is not the same as UnsignedShort"); static_assert(std::is_same::value, "ALshort is not the same as Short"); static_assert(std::is_same::value, "ALuint is not the same as UnsignedInt");