From 6c111182e11f97561267863428942b560f5b9e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 9 Aug 2012 01:22:24 +0200 Subject: [PATCH] WTF? sizeof(int) != 8 and sizeof(long long) != 16. F'ed up in 57d6ded23796a98d2b88001b75d56d09d26d6177. --- src/Math/MathTypeTraits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Math/MathTypeTraits.h b/src/Math/MathTypeTraits.h index 5f4bb5cdb..3208711d0 100644 --- a/src/Math/MathTypeTraits.h +++ b/src/Math/MathTypeTraits.h @@ -113,12 +113,12 @@ template struct MathTypeTraitsFloatingPoint { template struct MathTypeTraitsLong {}; -template<> struct MathTypeTraitsLong<8> { +template<> struct MathTypeTraitsLong { typedef unsigned int UnsignedType; typedef int Type; }; -template<> struct MathTypeTraitsLong<16> { +template<> struct MathTypeTraitsLong { typedef unsigned long long UnsignedType; typedef long long Type; };