diff --git a/ChangeLog b/ChangeLog index e60c3142f..120cf9afb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Werner Lemberg + + * src/bzip2/ftbzip2.c (ft_bzip2_alloc): Signedness fix. + 2015-02-25 Werner Lemberg [lzw] Signedness fixes. diff --git a/src/bzip2/ftbzip2.c b/src/bzip2/ftbzip2.c index a0de1c4bc..1c29dc0e7 100644 --- a/src/bzip2/ftbzip2.c +++ b/src/bzip2/ftbzip2.c @@ -71,7 +71,7 @@ int items, int size ) { - FT_ULong sz = (FT_ULong)size * items; + FT_ULong sz = (FT_ULong)size * (FT_ULong)items; FT_Error error; FT_Pointer p = NULL;