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); } //