From 201e8798d75c34498a39c31a7e2c73433bb6a8d8 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 24 Jun 2019 17:13:58 -0400 Subject: Convert previously overlooked static cast to QIntC --- libqpdf/QPDF_linearization.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/QPDF_linearization.cc') diff --git a/libqpdf/QPDF_linearization.cc b/libqpdf/QPDF_linearization.cc index 15e02ad1..763b8ee0 100644 --- a/libqpdf/QPDF_linearization.cc +++ b/libqpdf/QPDF_linearization.cc @@ -2065,7 +2065,7 @@ QPDF::calculateHSharedObject( soe.push_back(HSharedObjectEntry()); soe.at(i).delta_group_length = length; } - if (soe.size() != static_cast(cso.nshared_total)) + if (soe.size() != QIntC::to_size(cso.nshared_total)) { stopOnError("soe has wrong size after initialization"); } -- cgit v1.2.3-54-g00ecf