From ea5268d2d2b61dcefdc116e061dd7b2ffb486b02 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:30:20 +0900 Subject: [PATCH] smooth: Fix a data type mismatching with its source. --- ChangeLog | 7 +++++++ src/smooth/ftgrays.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 374304b66..9daa4a4c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + 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 cache: Disable the legacy compatibility if 16-bit system. 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;