diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2016-06-12 17:24:34 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2016-06-12 17:24:34 +0000 |
commit | 8242750df8583e478f0917cfd24ad999c18e14fd (patch) | |
tree | 2e8490d3ed44d4d3cf616e17df7ac2cf3ad6a588 /editors | |
parent | 596c08a41f80ce6ee8ad673e75cdcaf6f2d8ecff (diff) | |
download | ports-8242750df8583e478f0917cfd24ad999c18e14fd.tar.gz ports-8242750df8583e478f0917cfd24ad999c18e14fd.zip |
Notes
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 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) |