diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-08-01 00:30:17 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-08-01 00:30:17 +0900 |
commit | d200982d8b35be32c75f2af9c9b175af190d5a9d (patch) | |
tree | 099eca92e77630c5e8abcc617e67d4472085669e /src/psaux | |
parent | d1ee378566e9b6c3fba3f196a781d595447f05af (diff) |
psaux: Use size_t variable to pass the buffer size.
Diffstat (limited to 'src/psaux')
-rw-r--r-- | src/psaux/psconv.c | 6 | ||||
-rw-r--r-- | src/psaux/psconv.h | 6 | ||||
-rw-r--r-- | src/psaux/psobjs.c | 2 | ||||
-rw-r--r-- | src/psaux/psobjs.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/psaux/psconv.c b/src/psaux/psconv.c index ef85ca3d..1531d8f0 100644 --- a/src/psaux/psconv.c +++ b/src/psaux/psconv.c @@ -239,7 +239,7 @@ PS_Conv_StringDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n ) + FT_Offset n ) { FT_Byte* p; FT_UInt r = 0; @@ -334,7 +334,7 @@ PS_Conv_ASCIIHexDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n ) + FT_Offset n ) { FT_Byte* p; FT_UInt r = 0; @@ -423,7 +423,7 @@ PS_Conv_EexecDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n, + FT_Offset n, FT_UShort* seed ) { FT_Byte* p; diff --git a/src/psaux/psconv.h b/src/psaux/psconv.h index e5112418..84854ba0 100644 --- a/src/psaux/psconv.h +++ b/src/psaux/psconv.h @@ -46,20 +46,20 @@ FT_BEGIN_HEADER PS_Conv_StringDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n ); + FT_Offset n ); #endif FT_LOCAL( FT_UInt ) PS_Conv_ASCIIHexDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n ); + FT_Offset n ); FT_LOCAL( FT_UInt ) PS_Conv_EexecDecode( FT_Byte** cursor, FT_Byte* limit, FT_Byte* buffer, - FT_UInt n, + FT_Offset n, FT_UShort* seed ); diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index 934509ed..fe8398ae 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -1313,7 +1313,7 @@ FT_LOCAL_DEF( FT_Error ) ps_parser_to_bytes( PS_Parser parser, FT_Byte* bytes, - FT_Long max_bytes, + FT_Offset max_bytes, FT_Long* pnum_bytes, FT_Bool delimiters ) { diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h index c2cbf2c7..e380c60d 100644 --- a/src/psaux/psobjs.h +++ b/src/psaux/psobjs.h @@ -111,7 +111,7 @@ FT_BEGIN_HEADER FT_LOCAL( FT_Error ) ps_parser_to_bytes( PS_Parser parser, FT_Byte* bytes, - FT_Long max_bytes, + FT_Offset max_bytes, FT_Long* pnum_bytes, FT_Bool delimiters ); |