svn commit: r416812 - head/editors/pdfedit/files
Hiroki Sato
hrs at FreeBSD.org
Sun Jun 12 17:24:35 UTC 2016
Author: hrs
Date: Sun Jun 12 17:24:34 2016
New Revision: 416812
URL: https://svnweb.freebsd.org/changeset/ports/416812
Log:
Fix build on i386.
Modified:
head/editors/pdfedit/files/patch-src-tools-replace_text.cc
Modified: head/editors/pdfedit/files/patch-src-tools-replace_text.cc
==============================================================================
--- head/editors/pdfedit/files/patch-src-tools-replace_text.cc Sun Jun 12 17:24:13 2016 (r416811)
+++ head/editors/pdfedit/files/patch-src-tools-replace_text.cc Sun Jun 12 17:24:34 2016 (r416812)
@@ -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)
More information about the svn-ports-head
mailing list