diff --git a/ChangeLog b/ChangeLog index e37d1772a..c40f514e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-26 Werner Lemberg + + * src/psaux/psobjs.c (shift_elements): Don't use FT_Long but + FT_PtrDiff for `delta'. Reported by Céline PILLET + . + 2006-04-21 David Turner * include/freetype/ftincrem.h: Documentation updates. diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index 7e217554e..2b2892f3c 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -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++ )