fix compilation issue for 64bit systems (pointer <=> size_t)

This commit is contained in:
Gael Guennebaud 2008-12-08 15:07:42 +00:00
parent 52a30c1d54
commit ba9a53f9c6

View File

@ -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 !!! ****");
}
};