--- ./src/util/fixed_point.h.orig 2015-07-20 02:30:44.201265332 +0200 +++ ./src/util/fixed_point.h 2015-07-20 02:31:15.464311716 +0200 @@ -78,8 +78,8 @@ operator int() const { return v>>precision; } operator unsigned int() const { return v>>precision; } - operator float() const { return ldexpf(v,-precision); } - operator double() const { return ldexp(v,-precision); } + operator float() const { return ldexpf((float)v,-precision); } + operator double() const { return ldexp((double) v,-precision); } private: T v; };