Commit 3ca2d43b authored by Albert Astals Cid's avatar Albert Astals Cid

warning--

parent 58e056c4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment