shithub: freetype+ttf2subf

Download patch

ref: 55e80ec2006d683fa2cef0c374f5df969535b25b
parent: bc1837a19be1d727a9d35eacbe54d6e65c216e25
author: Werner Lemberg <[email protected]>
date: Tue Sep 17 09:56:44 EDT 2002

More 16bit fixes.

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-17  Werner Lemberg  <[email protected]>
+
+	More 16bit fixes.
+
+	* src/psaux/psobjs.c (reallocate_t1_table): Use FT_Long for
+	second parameter.
+
 2002-09-16  Werner Lemberg  <[email protected]>
 
 	16bit fixes from Wolfgang Domr�se.
--- 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;