aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-23 22:58:53 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-25 20:56:14 +0800
commit84e0676db8afd2580cfd7cdd4a0e10fa246c61fa (patch)
treecbc272cb9b8bcb6b5da9c9006d0c2417fd37a1b6 /test
parent2ecb7a2f7207d272acd7545af749866555da9981 (diff)
downloaddexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.tar.gz
dexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.tar.zst
dexon-solidity-84e0676db8afd2580cfd7cdd4a0e10fa246c61fa.zip
Fix upstream issues in stringutils
Diffstat (limited to 'test')
-rw-r--r--test/compilationTests/stringutils/strings.sol2
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) {