[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2 |
Date: |
Sat, 05 Oct 2002 08:27:34 +0200 (CEST) |
> in ftgrays.c
> ============
>
> are still some problems. They cause an error as soon as glyphs become
> bigger...
>
> At least: ras.last_ey has to be "long" or "TPos"!
Done.
> Whenever "SUBPIXELS" is done to a "TCoord"-Value there must be a
> Cast to "long" in the argument. Otherwise a short is shifted...to
> overflow!
>
> For example fx2 = (x2 - SUBPIXELS( (TPos) ex2 );
>
> I suppose, fx1, fx2, fy1, fy2 should be "long" or "TPos"! Casts are
> no longer necessary (see above example).
I added casts to the SUBPIXELS and TRUNC macros.
Thanks for the report.
Werner