diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index dba4c0e64..cc82f6607 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))&0xFFFF0000) | ((*(int*)(x))&0x0000FFFF); } template void non_projective_only() {