Fix MSVC integer overflow warning

This commit is contained in:
Sebastian Lipponer
2011-12-09 10:39:10 +00:00
parent 57c6bfba08
commit fff25a4b46
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ class compute_matrix_flags
((Options&DontAlign)==0)
&& (
#if EIGEN_ALIGN_STATICALLY
((!is_dynamic_size_storage) && (((MaxCols*MaxRows*sizeof(Scalar)) % 16) == 0))
((!is_dynamic_size_storage) && (((MaxCols*MaxRows*int(sizeof(Scalar))) % 16) == 0))
#else
0
#endif