From 412c049ba47eedc45f0943db7094bf5308c681c2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 8 Oct 2015 16:27:54 +0200 Subject: Fix a warning --- test/geo_alignedbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 void alignedbox(const BoxType& _box) -- cgit v1.2.3