diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:24 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:24 +0900 |
commit | d03e2f981fc9987a22476a6c263219b963315cfb (patch) | |
tree | 7e4e1803b6f8068e2a3aa2d329d66f9fd6828873 | |
parent | 0102bb6fe676b8ae14ca25e764ea66465584c764 (diff) | |
download | freetype2-d03e2f981fc9987a22476a6c263219b963315cfb.tar.gz |
smooth: Fix a data type mismatching with its source.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/smooth/ftgrays.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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; |