fix bug #477: warning with gcc 4.7

(transplanted from c8346abcdd9becbb01d313f63fd33b40d96ac7e2
)
This commit is contained in:
Gael Guennebaud 2012-06-20 09:54:52 +02:00
parent f231560ec2
commit d0c374f1ed

View File

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