hostsupport/hostopenvg/src/riMath.h
branchbug235_bringup_0
changeset 69 3f914c77c2e9
parent 53 c2ef9095503a
--- 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;