Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 09:16:05 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531831 - head/lang/solidity/files
Message-ID:  <202004160916.03G9G5YZ080203@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Thu Apr 16 09:16:04 2020
New Revision: 531831
URL: https://svnweb.freebsd.org/changeset/ports/531831

Log:
  Fix build on 32-bit platforms.

Added:
  head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp   (contents, props changed)

Added: head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp	Thu Apr 16 09:16:04 2020	(r531831)
@@ -0,0 +1,11 @@
+--- libsolutil/IpfsHash.cpp.orig	2020-04-16 09:14:46 UTC
++++ libsolutil/IpfsHash.cpp
+@@ -160,7 +160,7 @@ bytes solidity::util::ipfsHash(string _data)
+ 
+ 	Chunks allChunks;
+ 
+-	for (unsigned long chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++)
++	for (size_t chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++)
+ 	{
+ 		bytes chunkBytes = asBytes(
+ 			_data.substr(chunkIndex * maxChunkSize, min(maxChunkSize, _data.length() - chunkIndex * maxChunkSize))



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