Fix upstream issues in stringutils

This commit is contained in:
Alex Beregszaszi 2018-07-23 15:58:53 +01:00
parent 2ecb7a2f72
commit 84e0676db8

View File

@ -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) {