2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-09 09:50:28 +00:00

Convert previously overlooked static cast to QIntC

This commit is contained in:
Jay Berkenbilt 2019-06-24 17:13:58 -04:00
parent 0ae344d002
commit 201e8798d7

View File

@ -2065,7 +2065,7 @@ QPDF::calculateHSharedObject(
soe.push_back(HSharedObjectEntry());
soe.at(i).delta_group_length = length;
}
if (soe.size() != static_cast<size_t>(cso.nshared_total))
if (soe.size() != QIntC::to_size(cso.nshared_total))
{
stopOnError("soe has wrong size after initialization");
}