diff -r 8d4efe9fa1cf -r 3f914c77c2e9 hostsupport/hostopenvg/src/riMath.h --- a/hostsupport/hostopenvg/src/riMath.h Tue Oct 26 14:14:43 2010 +0100 +++ b/hostsupport/hostopenvg/src/riMath.h Mon Nov 01 18:10:32 2010 +0000 @@ -246,7 +246,7 @@ return r; } -RI_INLINE RIfloat RI_FLOAT_TO_FX(RIfloat f, unsigned int n) { return (RIfloat)RI_ROUND_TO_INT(f * (RIfloat)RI_SHL(1, n)); } +RI_INLINE int RI_FLOAT_TO_FX(RIfloat f, unsigned int n) { return RI_ROUND_TO_INT(f * (RIfloat)RI_SHL(1, n)); } class Matrix3x3; class Vector2;