From db4be24897a73ba3ee80cfd0b5066af63ae05330 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 15 Nov 2014 13:19:35 +0100 Subject: [PATCH] Fixed test build on ICC --- test/core/core_func_integer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core/core_func_integer.cpp b/test/core/core_func_integer.cpp index b07d08c9..c3b44080 100644 --- a/test/core/core_func_integer.cpp +++ b/test/core/core_func_integer.cpp @@ -181,7 +181,7 @@ namespace bitfieldReverse return bitfieldReverseLoop(glm::tvec1(v)).x; } - GLM_FUNC_QUALIFIER uint32_t bitfieldReverseUint32(uint32_t x) + GLM_FUNC_QUALIFIER glm::uint32_t bitfieldReverseUint32(glm::uint32_t x) { x = (x & 0x55555555) << 1 | (x & 0xAAAAAAAA) >> 1; x = (x & 0x33333333) << 2 | (x & 0xCCCCCCCC) >> 2; @@ -191,7 +191,7 @@ namespace bitfieldReverse return x; } - GLM_FUNC_QUALIFIER uint64_t bitfieldReverseUint64(uint64_t x) + GLM_FUNC_QUALIFIER glm::uint64_t bitfieldReverseUint64(glm::uint64_t x) { x = (x & 0x5555555555555555) << 1 | (x & 0xAAAAAAAAAAAAAAAA) >> 1; x = (x & 0x3333333333333333) << 2 | (x & 0xCCCCCCCCCCCCCCCC) >> 2;