* src/sfnt/sfwoff2.c (woff2_decompress): Fix compiler warning.

Reported by Hin-Tak.
This commit is contained in:
Werner Lemberg 2020-07-23 13:03:22 +02:00
parent ee19a6cbbc
commit b6183ea369
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2020-07-23 Werner Lemberg <wl@gnu.org>
* src/sfnt/sfwoff2.c (woff2_decompress): Fix compiler warning.
Reported by Hin-Tak.
2020-07-12 Werner Lemberg <wl@gnu.org>
* builds/unix/configure.raw: Fix inclusion of `ftoption.h'.

View File

@ -318,7 +318,9 @@
{
#ifdef FT_CONFIG_OPTION_USE_BROTLI
FT_ULong uncompressed_size = dst_size;
/* this cast is only of importance on 32bit systems; */
/* we don't validate it */
FT_Offset uncompressed_size = (FT_Offset)dst_size;
BrotliDecoderResult result;