From b5cb4bb2e1aebabefc8637c900b1b2a9b846746c Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 27 Jun 2001 17:06:28 +0000 Subject: [PATCH] * 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. --- ChangeLog | 12 ++++++++++++ include/freetype/internal/psaux.h | 2 +- src/cid/cidload.c | 2 +- src/cid/cidload.h | 2 +- src/psaux/psobjs.c | 2 +- src/psaux/psobjs.h | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 41c19689a..75380b8a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2001-06-26 Werner Lemberg + + * 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 + + * 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 298c5e109..df839dea6 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 0a07082fe..3b9f2b678 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 cbd223536..156b619ad 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 28306eece..af6664a1b 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 c0e482a20..00d9b464b 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 );