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


			
			
				david-pic-changes
			
			
		
Werner Lemberg 19 years ago
parent 8a8c6022bf
commit 564b4432ca
  1. 6
      ChangeLog
  2. 6
      src/psaux/psobjs.c

@ -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.

@ -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++ )

Loading…
Cancel
Save