Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2016 17:24:34 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416812 - head/editors/pdfedit/files
Message-ID:  <201606121724.u5CHOYAZ073998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606121724.u5CHOYAZ073998>