From dd0fc3bcaf338eb1f700a70670ba7a072d5f620a Mon Sep 17 00:00:00 2001 From: Daniel Guzman Date: Fri, 13 Dec 2019 20:12:26 +0100 Subject: [PATCH] Stop Magnum/Math/Swizzle.h(75): warning C4389: '==': signed/unsigned mismatch --- src/Magnum/Math/Swizzle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Swizzle.h b/src/Magnum/Math/Swizzle.h index 3b1731dee..cabccbaf0 100644 --- a/src/Magnum/Math/Swizzle.h +++ b/src/Magnum/Math/Swizzle.h @@ -72,7 +72,7 @@ namespace Implementation { return vector._data[i]; } }; - template struct ScatterComponent: ScatterComponentOr { + template struct ScatterComponent: ScatterComponentOr(component) == i> { static_assert(component == 'x' || component == 'r' || ((component == 'y' || component == 'g') && size > 1) || ((component == 'z' || component == 'b') && size > 2) ||