From 84e0676db8afd2580cfd7cdd4a0e10fa246c61fa Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 23 Jul 2018 15:58:53 +0100 Subject: Fix upstream issues in stringutils --- test/compilationTests/stringutils/strings.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compilationTests') diff --git a/test/compilationTests/stringutils/strings.sol b/test/compilationTests/stringutils/strings.sol index b449645a..6865664b 100644 --- a/test/compilationTests/stringutils/strings.sol +++ b/test/compilationTests/stringutils/strings.sol @@ -702,7 +702,7 @@ library strings { uint retptr; assembly { retptr := add(ret, 32) } - for(i = 0; i < parts.length; i++) { + for(uint i = 0; i < parts.length; i++) { memcpy(retptr, parts[i]._ptr, parts[i]._len); retptr += parts[i]._len; if (i < parts.length - 1) { -- cgit v1.2.3