summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/hunzip.c++
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hunspell/src/hunzip.c++')
-rw-r--r--libs/hunspell/src/hunzip.c++4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hunspell/src/hunzip.c++ b/libs/hunspell/src/hunzip.c++
index 8962b100b1..64a9169c4b 100644
--- a/libs/hunspell/src/hunzip.c++
+++ b/libs/hunspell/src/hunzip.c++
@@ -1,7 +1,7 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
- * Copyright (C) 2002-2017 Németh László
+ * Copyright (C) 2002-2022 Németh László
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
@@ -178,7 +178,7 @@ int Hunzip::getbuf() {
do {
if (inc == 0) {
fin.read(in, BUFSIZE);
- inbits = fin.gcount() * 8;
+ inbits = int(fin.gcount() * 8);
}
for (; inc < inbits; inc++) {
int b = (in[inc / 8] & (1 << (7 - (inc % 8)))) ? 1 : 0;