From ca499e07c5e0d72015378612b2c7a6437d44afb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 21 Jun 2016 18:29:04 +0200 Subject: [PATCH] Audio: fix compiler warning. Eh, I'm not even able to do a single change without screwing up. --- src/Magnum/Audio/Audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");