summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:24 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:24 +0900
commitd03e2f981fc9987a22476a6c263219b963315cfb (patch)
tree7e4e1803b6f8068e2a3aa2d329d66f9fd6828873
parent0102bb6fe676b8ae14ca25e764ea66465584c764 (diff)
downloadfreetype2-d03e2f981fc9987a22476a6c263219b963315cfb.tar.gz
smooth: Fix a data type mismatching with its source.
-rw-r--r--ChangeLog7
-rw-r--r--src/smooth/ftgrays.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b71ab40a..879157f0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+ smooth: Fix a data type mismatching with its source.
+
+ * src/smooth/ftgrays.c (gray_render_line): The type
+ of `area' is matched with TWorker.area.
+
+2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
cache: Disable the legacy compatibility if 16-bit system.
* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Exclude
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index afef27e7c..ffe3592b6 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -739,7 +739,7 @@
{
TCoord ex = TRUNC( ras.x );
TCoord two_fx = (TCoord)( ( ras.x - SUBPIXELS( ex ) ) << 1 );
- TPos area;
+ TArea area;
first = ONE_PIXEL;