diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 1041d948a..a1b635368 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -100,7 +100,7 @@ struct equals bool operator() (value_double lhs, value_bool rhs) const { - return static_cast(lhs) == rhs; + return lhs == static_cast(rhs); } bool operator() (value_unicode_string const& lhs,