diff options
Diffstat (limited to 'include/libcss/fpmath.h')
-rw-r--r-- | include/libcss/fpmath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcss/fpmath.h b/include/libcss/fpmath.h index 36e0ab5..1192222 100644 --- a/include/libcss/fpmath.h +++ b/include/libcss/fpmath.h @@ -104,7 +104,7 @@ css_float_to_fixed(const float a) { if (xx > INT_MAX) xx = INT_MAX; - return xx; + return (css_fixed) xx; } /* Add two fixed point values */ |