ref: 5c9d9bf295df404e6d89d6495f0a181d85f1cd57
parent: 83d4181a36aa8fea584e7f20fe606bf636f3ed6b
author: Werner Lemberg <[email protected]>
date: Wed Feb 25 03:13:40 EST 2015
* src/bzip2/ftbzip2.c (ft_bzip2_alloc): Signedness fix.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-02-25 Werner Lemberg <[email protected]>
+ * src/bzip2/ftbzip2.c (ft_bzip2_alloc): Signedness fix.
+
+2015-02-25 Werner Lemberg <[email protected]>
+
[lzw] Signedness fixes.
* src/lzw/ftzopen.c, src/lzw/ftzopen.h: Apply.
--- 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;