poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3ca2d43b7ddcca08bc026c6564f89ffbe0dde506 Author: Albert Astals Cid <[email protected]> Date: Wed May 23 00:27:08 2018 +0200 warning-- diff --git a/poppler/Decrypt.cc b/poppler/Decrypt.cc index d4ce0ce3..83d18824 100644 --- a/poppler/Decrypt.cc +++ b/poppler/Decrypt.cc @@ -321,7 +321,7 @@ BaseCryptStream::BaseCryptStream(Stream *strA, Guchar *fileKey, CryptAlgorithm a } switch (algo) { case cryptRC4: - if (likely(keyLength < (sizeof(objKey) - 4))) { + if (likely(keyLength < static_cast<int>(sizeof(objKey) - 4))) { objKey[keyLength] = objNum & 0xff; objKey[keyLength + 1] = (objNum >> 8) & 0xff; objKey[keyLength + 2] = (objNum >> 16) & 0xff; _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
