smooth: Fix a data type mismatching with its source.

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:24 +09:00
parent 0102bb6fe6
commit d03e2f981f
2 changed files with 8 additions and 1 deletions

View File

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

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;