From 15bb51d78015057cf0aaf3b171026b5a0a52ecfe Mon Sep 17 00:00:00 2001 From: sjbaker Date: Mon, 20 Nov 2006 23:21:05 +0000 Subject: [PATCH] Fixed compilation problem with GCC 3.3.5 - which appears at first glance to be due to a compiler error. --- src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp b/src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp index ffd84bdc0..55123d5ad 100644 --- a/src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp +++ b/src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp @@ -242,7 +242,7 @@ struct GJK // vdh : very dumm hash static inline U Hash(const Vector3& v) { - const U h(U(v[0]*15461)^U(v[1]*83003)^U(v[2]*15473)); + const U h((U)(v[0]*15461)^(U)(v[1]*83003)^(U)(v[2]*15473)); return(((*((const U*)&h))*169639)&GJK_hashmask); } //