From 24f2bcd864af137f9a052488337a214677013e5a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 6 Sep 2011 22:44:49 +0000 Subject: Explicitly narrow result svn path=/trunk/libcss/; revision=12769 --- include/libcss/fpmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3