fix bug #477: warning with gcc 4.7

This commit is contained in:
Gael Guennebaud 2012-06-20 09:54:52 +02:00
parent 52dce0c126
commit c8346abcdd

View File

@ -39,7 +39,7 @@ struct transform_traits
Dim = Transform::Dim,
HDim = Transform::HDim,
Mode = Transform::Mode,
IsProjective = (Mode==Projective)
IsProjective = (int(Mode)==int(Projective))
};
};