diff options
author | hrs <hrs@FreeBSD.org> | 2016-06-13 01:24:34 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2016-06-13 01:24:34 +0800 |
commit | 1cbae8f428e1388a6a5d1c7fbca4b7a67897b760 (patch) | |
tree | 2e8490d3ed44d4d3cf616e17df7ac2cf3ad6a588 /editors | |
parent | c9d1cea441f7605b4c312908b124d0c56797c1d6 (diff) | |
download | freebsd-ports-graphics-1cbae8f428e1388a6a5d1c7fbca4b7a67897b760.tar.gz freebsd-ports-graphics-1cbae8f428e1388a6a5d1c7fbca4b7a67897b760.tar.zst freebsd-ports-graphics-1cbae8f428e1388a6a5d1c7fbca4b7a67897b760.zip |
Fix build on i386.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/pdfedit/files/patch-src-tools-replace_text.cc | 2 |
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 ace6ac051e4..5b2dc8e6596 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) |