Commit 55e80ec2006d683fa2cef0c374f5df969535b25b

Werner Lemberg 2002-09-17T13:56:44

More 16bit fixes. * src/psaux/psobjs.c (reallocate_t1_table): Use FT_Long for second parameter.

diff --git a/ChangeLog b/ChangeLog
index 3b159a2..9359c50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-17  Werner Lemberg  <wl@gnu.org>
+
+	More 16bit fixes.
+
+	* src/psaux/psobjs.c (reallocate_t1_table): Use FT_Long for
+	second parameter.
+
 2002-09-16  Werner Lemberg  <wl@gnu.org>
 
 	16bit fixes from Wolfgang Domröse.
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
index 0ada9e9..f1cea1e 100644
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -102,7 +102,7 @@
 
   static FT_Error
   reallocate_t1_table( PS_Table  table,
-                       FT_Int    new_size )
+                       FT_Long   new_size )
   {
     FT_Memory  memory   = table->memory;
     FT_Byte*   old_base = table->block;
@@ -739,7 +739,7 @@
                FT_Memory  memory )
   {
     FT_Byte*    cur = *cursor;
-    FT_Int      len = 0;
+    FT_PtrDist  len = 0;
     FT_Int      count;
     FT_String*  result;
     FT_Error    error;