Commit ea5268d2d2b61dcefdc116e061dd7b2ffb486b02

suzuki toshiya 2009-08-01T00:30:20

smooth: Fix a data type mismatching with its source.

diff --git a/ChangeLog b/ChangeLog
index 374304b..9daa4a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  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-31  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 afef27e..ffe3592 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;