aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qpdf/qpdf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index a416870a..fe168cf5 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1617,7 +1617,7 @@ int main(int argc, char* argv[])
// This prevents those objects from being preserved by
// being referred to from other places, such as the
// outlines dictionary.
- for (int pageno = 0; pageno < (int)orig_pages.size(); ++pageno)
+ for (size_t pageno = 0; pageno < orig_pages.size(); ++pageno)
{
if (selected_from_orig.count(pageno) == 0)
{