aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-12-08 15:07:42 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-12-08 15:07:42 +0000
commitba9a53f9c69f90ccf7e6d70c6109380d40c6c4e5 (patch)
tree1d3422edcd8dfb64c39c4c300746fa5e487bc2a1 /Eigen
parent52a30c1d54d1c228b88cd54eac3de370699fa557 (diff)
fix compilation issue for 64bit systems (pointer <=> size_t)
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/util/Memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h
index 8494c5552..a75e3f001 100644
--- a/Eigen/src/Core/util/Memory.h
+++ b/Eigen/src/Core/util/Memory.h
@@ -40,7 +40,7 @@ template <typename T, int Size, bool Align> struct ei_aligned_array
ei_aligned_array()
{
- ei_assert((reinterpret_cast<unsigned int>(array) & 0xf) == 0
+ ei_assert((reinterpret_cast<size_t>(array) & 0xf) == 0
&& "this assertion is explained here: http://eigen.tuxfamily.org/api/UnalignedArrayAssert.html **** READ THIS WEB PAGE !!! ****");
}
};