diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-06-28 03:40:04 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-06-28 03:40:04 +0000 |
commit | 8efd7981e86289200e3e38cd46184d205db00027 (patch) | |
tree | 0fe572bd68e76910b9d425db660bc96e901642ed /include | |
parent | b34a0e55fc302f4efd8f969ea2a04b1760d97858 (diff) | |
download | libcss-8efd7981e86289200e3e38cd46184d205db00027.tar.gz |
Fix cast
svn path=/trunk/libcss/; revision=8091
Diffstat (limited to 'include')
-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 0e314cb..6373125 100644 --- a/include/libcss/fpmath.h +++ b/include/libcss/fpmath.h @@ -32,7 +32,7 @@ typedef int32_t css_fixed; #define FDIVI(a, b) ((a) / (b)) /* Convert a floating point value to fixed point */ -#define FLTTOFIX(a) ((fixed) ((a) * (float) (1 << 10))) +#define FLTTOFIX(a) ((css_fixed) ((a) * (float) (1 << 10))) /* Convert a fixed point value to floating point */ #define FIXTOFLT(a) ((float) (a) / (float) (1 << 10)) |