diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-06 22:44:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-06 22:44:49 +0000 |
commit | 24f2bcd864af137f9a052488337a214677013e5a (patch) | |
tree | 45d5aefe0d737e2857bcd3fff4b802030651739a | |
parent | 2a7bff7d173e3cbdfee3926bd264696a61f75589 (diff) | |
download | libcss-24f2bcd864af137f9a052488337a214677013e5a.tar.gz libcss-24f2bcd864af137f9a052488337a214677013e5a.tar.bz2 |
Explicitly narrow result
svn path=/trunk/libcss/; revision=12769
-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 */ |