summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2016-06-12 17:24:34 +0000
committerHiroki Sato <hrs@FreeBSD.org>2016-06-12 17:24:34 +0000
commit8242750df8583e478f0917cfd24ad999c18e14fd (patch)
tree2e8490d3ed44d4d3cf616e17df7ac2cf3ad6a588 /editors
parentUpdate to version 2016-16-11 (diff)
Fix build on i386.
Notes
Notes: svn path=/head/; revision=416812
Diffstat (limited to 'editors')
-rw-r--r--editors/pdfedit/files/patch-src-tools-replace_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/pdfedit/files/patch-src-tools-replace_text.cc b/editors/pdfedit/files/patch-src-tools-replace_text.cc
index ace6ac051e48..5b2dc8e65960 100644
--- a/editors/pdfedit/files/patch-src-tools-replace_text.cc
+++ b/editors/pdfedit/files/patch-src-tools-replace_text.cc
@@ -39,7 +39,7 @@
// sane values
- to = std::min(to, pdf->getPageCount()+1);
-+ to = std::min(to, (unsigned long)(pdf->getPageCount()+1));
++ to = std::min(to, (size_t)(pdf->getPageCount()+1));
// now the hard stuff comes - do this crazy loops intentionally
for (size_t things_to_replace = 0; things_to_replace < withs.size(); ++things_to_replace)