[lzw] Signedness fixes.

* src/lzw/ftzopen.c, src/lzw/ftzopen.h: Apply.
This commit is contained in:
Werner Lemberg 2015-02-25 08:10:58 +01:00
parent 17b6291d26
commit 83d4181a36
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2015-02-25 Werner Lemberg <wl@gnu.org>
[lzw] Signedness fixes.
* src/lzw/ftzopen.c, src/lzw/ftzopen.h: Apply.
2015-02-25 Werner Lemberg <wl@gnu.org>
[gxvalid] Signedness fixes.

View File

@ -55,7 +55,7 @@
ft_lzwstate_get_code( FT_LzwState state )
{
FT_UInt num_bits = state->num_bits;
FT_Int offset = state->buf_offset;
FT_UInt offset = state->buf_offset;
FT_Byte* p;
FT_Int result;

View File

@ -116,8 +116,8 @@
FT_Int in_eof;
FT_Byte buf_tab[16];
FT_Int buf_offset;
FT_Int buf_size;
FT_UInt buf_offset;
FT_UInt buf_size;
FT_Bool buf_clear;
FT_Offset buf_total;