aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_transformations.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-25 11:15:54 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-25 11:15:54 +0200
commit2cd32be70b2768887aad35ff48fcdbafbffa0516 (patch)
treedf655a16829d01356fd9e4d9f7f9da75d9fd5351 /test/geo_transformations.cpp
parentbbf9109e25ab5e7f657d254c795a73a6c503d14d (diff)
Fix warning.
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r--test/geo_transformations.cpp2
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()
{