mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix upstream issues in stringutils
This commit is contained in:
parent
2ecb7a2f72
commit
84e0676db8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user