From 2cd32be70b2768887aad35ff48fcdbafbffa0516 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 25 May 2016 11:15:54 +0200 Subject: Fix warning. --- test/geo_transformations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/geo_transformations.cpp') diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index 2e3a7169a..dba4c0e64 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -20,7 +20,7 @@ Matrix angleToVec(T a) // This permits to workaround a bug in clang/llvm code generation. EIGEN_DONT_INLINE -void dont_over_optimize(void* x) { *(int*)(x) = (*(int*)(x))&0xFFFF000 | (*(int*)(x))&0x0000FFFF; } +void dont_over_optimize(void* x) { *(int*)(x) = ((*(int*)(x))&0xFFFF000) | ((*(int*)(x))&0x0000FFFF); } template void non_projective_only() { -- cgit v1.2.3