diff options
-rw-r--r-- | test/geo_transformations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<T,2,1> 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<typename Scalar, int Mode, int Options> void non_projective_only() { |