diff options
author | Moonchild <moonchild@palemoon.org> | 2020-11-13 15:59:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-18 10:58:22 +0000 |
commit | b645d59b1e170af1cb0963935bd8c915e56c431c (patch) | |
tree | 49fdc8001d5758558ada7a711f31e08095388294 /modules/brotli/enc/utf8_util.c | |
parent | 71e0814af25e8619782294e65aa42aa1044dabdc (diff) | |
download | UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.gz UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.lz UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.xz UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.zip |
Issue #1683 - Update Brotli lib to 1.0.9
Diffstat (limited to 'modules/brotli/enc/utf8_util.c')
-rw-r--r-- | modules/brotli/enc/utf8_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/brotli/enc/utf8_util.c b/modules/brotli/enc/utf8_util.c index 04a780516..e802b6a75 100644 --- a/modules/brotli/enc/utf8_util.c +++ b/modules/brotli/enc/utf8_util.c @@ -77,7 +77,7 @@ BROTLI_BOOL BrotliIsMostlyUTF8( i += bytes_read; if (symbol < 0x110000) size_utf8 += bytes_read; } - return TO_BROTLI_BOOL(size_utf8 > min_fraction * (double)length); + return TO_BROTLI_BOOL((double)size_utf8 > min_fraction * (double)length); } #if defined(__cplusplus) || defined(c_plusplus) |