mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Fix comparison of integer expressions of different signedness warnings
This commit is contained in:
committed by
Jakub Melka
parent
bbecbf6311
commit
577866aa2f
@ -1305,7 +1305,7 @@ bool PDFSignatureHandler_adbe_pkcs7_rsa_sha1::getMessageDigestAlgorithm(ASN1_OCT
|
||||
return false;
|
||||
}
|
||||
|
||||
Q_ASSERT(signatureSize < decryptedBuffer.size());
|
||||
Q_ASSERT(static_cast<std::size_t>(signatureSize) < decryptedBuffer.size());
|
||||
|
||||
const unsigned char* decryptedBufferPtr = decryptedBuffer.data();
|
||||
if (X509_SIG* x509_sig = d2i_X509_SIG(nullptr, &decryptedBufferPtr, signatureSize))
|
||||
|
Reference in New Issue
Block a user