Commit d51b41e085f2370ca9da13e78a6f20cdb6ed02d0

Detlef Würkner 2006-03-29T06:35:26

no message

diff --git a/ChangeLog b/ChangeLog
index b4c65c5..ca29175 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-29  Detlef Würkner  <TetiSoft@apg.lahn.de>
+
+	* src/psaux/psconv.c: Changed some variables which are expected
+	to hold negative values from "char" to "FT_Char" to allow
+	building with a compiler where "char" is unsigned by default.
+
 2006-03-27  David Turner  <david@freetype.org>
 
 	* src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that
diff --git a/src/psaux/psconv.c b/src/psaux/psconv.c
index 90d8e3e..010d08c 100644
--- a/src/psaux/psconv.c
+++ b/src/psaux/psconv.c
@@ -31,7 +31,7 @@
 #if 'A' == 65
   /* ASCII */
 
-  static const char  ft_char_table[128] =
+  static const FT_Char  ft_char_table[128] =
   {
     /* 0x00 */
     -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
@@ -52,7 +52,7 @@
 #if 'A' == 193
   /* EBCDIC */
 
-  static const char  ft_char_table[128] =
+  static const FT_Char  ft_char_table[128] =
   {
     /* 0x80 */
     -1, 10, 11, 12, 13, 14, 15, 16, 17, 18, -1, -1, -1, -1, -1, -1,
@@ -95,7 +95,7 @@
 
     for ( ; p < limit; p++ )
     {
-      char  c;
+      FT_Char  c;
 
 
       if ( IS_PS_SPACE( *p ) || *p OP 0x80 )
@@ -176,7 +176,7 @@
 
       for ( ; p < limit; p++ )
       {
-        char  c;
+        FT_Char  c;
 
 
         if ( IS_PS_SPACE( *p ) || *p OP 0x80 )
@@ -337,7 +337,7 @@
     n *= 2;
     for ( p = *cursor; r < n && p < limit; p++ )
     {
-      char  c;
+      FT_Char  c;
 
 
       if ( IS_PS_SPACE( *p ) )