* src/psaux/psobjs.c (shift_elements): Don't use FT_Long but

FT_PtrDiff for `delta'.  Reported by Cline PILLET
<Celine.Pillet@Tagginfo.com>.
This commit is contained in:
Werner Lemberg 2006-04-26 15:02:52 +00:00
parent 8a8c6022bf
commit 564b4432ca
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-04-26 Werner Lemberg <wl@gnu.org>
* src/psaux/psobjs.c (shift_elements): Don't use FT_Long but
FT_PtrDiff for `delta'. Reported by Céline PILLET
<Celine.Pillet@Tagginfo.com>.
2006-04-21 David Turner <david@freetype.org>
* include/freetype/ftincrem.h: Documentation updates.

View File

@ -88,9 +88,9 @@
shift_elements( PS_Table table,
FT_Byte* old_base )
{
FT_Long delta = (FT_Long)( table->block - old_base );
FT_Byte** offset = table->elements;
FT_Byte** limit = offset + table->max_elems;
FT_PtrDist delta = table->block - old_base;
FT_Byte** offset = table->elements;
FT_Byte** limit = offset + table->max_elems;
for ( ; offset < limit; offset++ )