* 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
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 @@ FT_BEGIN_HEADER
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_BEGIN_HEADER
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_BEGIN_HEADER
FT_LOCAL
void T1_Decrypt( FT_Byte* buffer,
- FT_Int length,
+ FT_Offset length,
FT_UShort seed );