diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-23 22:58:53 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 20:56:14 +0800 |
commit | 84e0676db8afd2580cfd7cdd4a0e10fa246c61fa (patch) | |
tree | cbc272cb9b8bcb6b5da9c9006d0c2417fd37a1b6 | |
parent | 2ecb7a2f7207d272acd7545af749866555da9981 (diff) | |
download | dexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.tar.gz dexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.tar.zst dexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.zip |
Fix upstream issues in stringutils
-rw-r--r-- | test/compilationTests/stringutils/strings.sol | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |