smooth: Fix a data type mismatching with its source.

This commit is contained in:
suzuki toshiya 2009-08-01 00:30:20 +09:00
parent f4e1c8bdda
commit ea5268d2d2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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.

View File

@ -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;