Commit 201e8798d75c34498a39c31a7e2c73433bb6a8d8
1 parent
0ae344d0
Convert previously overlooked static cast to QIntC
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/QPDF_linearization.cc
| @@ -2065,7 +2065,7 @@ QPDF::calculateHSharedObject( | @@ -2065,7 +2065,7 @@ QPDF::calculateHSharedObject( | ||
| 2065 | soe.push_back(HSharedObjectEntry()); | 2065 | soe.push_back(HSharedObjectEntry()); |
| 2066 | soe.at(i).delta_group_length = length; | 2066 | soe.at(i).delta_group_length = length; |
| 2067 | } | 2067 | } |
| 2068 | - if (soe.size() != static_cast<size_t>(cso.nshared_total)) | 2068 | + if (soe.size() != QIntC::to_size(cso.nshared_total)) |
| 2069 | { | 2069 | { |
| 2070 | stopOnError("soe has wrong size after initialization"); | 2070 | stopOnError("soe has wrong size after initialization"); |
| 2071 | } | 2071 | } |