* src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
instead of FT_Int as type for `length' parameter.
* include/freetype/internal/psaux.h (PSAux_Interface): Updated.
* src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset
instead of FT_Int as type for `length' parameter.
diff --git a/ChangeLog b/ChangeLog
index 41c1968..75380b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2001-06-26 Werner Lemberg <wl@gnu.org>
+
+ * src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
+ instead of FT_Int as type for `length' parameter.
+ * include/freetype/internal/psaux.h (PSAux_Interface): Updated.
+
+2001-06-27 Wolfgang Domröse <porthos.domroese@harz.de>
+
+ * src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset
+ instead of FT_Int as type for `length' parameter.
+
+
* Version 2.0.4 released.
=========================
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h
index 298c5e1..df839de 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -622,7 +622,7 @@
const T1_Decoder_Funcs* t1_decoder_funcs;
void (*t1_decrypt)( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed );
} PSAux_Interface;
diff --git a/src/cid/cidload.c b/src/cid/cidload.c
index 0a07082..3b9f2b6 100644
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -62,7 +62,7 @@
FT_LOCAL_DEF
void cid_decrypt( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed )
{
while ( length > 0 )
diff --git a/src/cid/cidload.h b/src/cid/cidload.h
index cbd2235..156b619 100644
--- a/src/cid/cidload.h
+++ b/src/cid/cidload.h
@@ -42,7 +42,7 @@
FT_LOCAL
void cid_decrypt( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed );
FT_LOCAL
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
index 28306ee..af6664a 100644
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -1277,7 +1277,7 @@
FT_LOCAL_DEF
void T1_Decrypt( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed )
{
while ( length > 0 )
diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h
index c0e482a..00d9b46 100644
--- a/src/psaux/psobjs.h
+++ b/src/psaux/psobjs.h
@@ -191,7 +191,7 @@
FT_LOCAL
void T1_Decrypt( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed );