aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-08 16:27:54 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-08 16:27:54 +0200
commit412c049ba47eedc45f0943db7094bf5308c681c2 (patch)
treef5f7cb605fbe5fca2b6b56382035adef2239b8f8
parentaa6b1aebf373fba262fab7cd833881eac4fed8ef (diff)
Fix a warning
-rw-r--r--test/geo_alignedbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp
index c883234a8..2bdb4b7f2 100644
--- a/test/geo_alignedbox.cpp
+++ b/test/geo_alignedbox.cpp
@@ -16,7 +16,7 @@
using namespace std;
template<typename T> EIGEN_DONT_INLINE
-void kill_extra_precision(T& x) { eigen_assert(&x != 0); }
+void kill_extra_precision(T& x) { eigen_assert((void*)(&x) != (void*)0); }
template<typename BoxType> void alignedbox(const BoxType& _box)