summaryrefslogtreecommitdiff
path: root/modules/brotli/enc/utf8_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/brotli/enc/utf8_util.c')
-rw-r--r--modules/brotli/enc/utf8_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/brotli/enc/utf8_util.c b/modules/brotli/enc/utf8_util.c
index 04a7805161..e802b6a751 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)