diff options
author | Werner Lemberg <wl@gnu.org> | 2020-07-23 13:03:22 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-07-23 13:03:22 +0200 |
commit | b6183ea369757f6f0126c9822d21eaa88903b7c5 (patch) | |
tree | d1faab26cba7d52d25d257496e90852abd054676 /src | |
parent | ee19a6cbbcb28e7aab04dd13918edd46f21ecb22 (diff) | |
download | freetype2-b6183ea369757f6f0126c9822d21eaa88903b7c5.tar.gz |
* src/sfnt/sfwoff2.c (woff2_decompress): Fix compiler warning.
Reported by Hin-Tak.
Diffstat (limited to 'src')
-rw-r--r-- | src/sfnt/sfwoff2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c index 895d6cf49..30345c775 100644 --- a/src/sfnt/sfwoff2.c +++ b/src/sfnt/sfwoff2.c @@ -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; |