[poppler] poppler/Form.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 20 12:29:48 UTC 2021
poppler/Form.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 90bcd4967e82534f3c141c2c14cf292d6813bbd8
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu May 20 14:21:24 2021 +0200
Cast to the actual type we're storing in
Fixes a warning in gcc 11
diff --git a/poppler/Form.cc b/poppler/Form.cc
index b6488b59..3e084e4c 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -708,7 +708,7 @@ bool FormWidgetSignature::updateOffsets(FILE *f, Goffset objStart, Goffset objEn
return false;
}
- const size_t bufSize = static_cast<int>(objEnd - objStart);
+ const size_t bufSize = static_cast<size_t>(objEnd - objStart);
if (Gfseek(f, objStart, SEEK_SET) != 0) {
return false;
}
More information about the poppler
mailing list