diff options
author | Werner Lemberg <wl@gnu.org> | 2001-07-17 12:37:54 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2001-07-17 12:37:54 +0000 |
commit | cabdc818b656cf7fb1732375709224b51c5a4b2a (patch) | |
tree | 4321c36c09a81446bddc2b90c3817c9428a18953 /src/psaux | |
parent | 4a8b5ea4fe18f32d0a4e9a31567ade529fbc523e (diff) | |
download | freetype2-cabdc818b656cf7fb1732375709224b51c5a4b2a.tar.gz |
* include/freetype/internal/psaux.h (PS_Table): Use FT_Offset for
`cursor' and `capacity'.
* src/psaux/psobjc.c (reallocate_t1_table): Use FT_Long for second
parameter.
(PS_Table_Add): Use FT_Offset for `new_size'.
* src/base/ftsynth.c: Include ftcalc.h unconditionally.
Diffstat (limited to 'src/psaux')
-rw-r--r-- | src/psaux/psobjs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index ac9057d14..e38c10421 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -101,7 +101,7 @@ static FT_Error reallocate_t1_table( PS_Table* table, - FT_Int new_size ) + FT_Long new_size ) { FT_Memory memory = table->memory; FT_Byte* old_base = table->block; @@ -163,8 +163,8 @@ /* grow the base block if needed */ if ( table->cursor + length > table->capacity ) { - FT_Error error; - FT_Int new_size = table->capacity; + FT_Error error; + FT_Offset new_size = table->capacity; while ( new_size < table->cursor + length ) |