We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 337211c commit 33513d1Copy full SHA for 33513d1
contracts/utils/Strings.sol
@@ -465,7 +465,7 @@ library Strings {
465
bytes memory output = new bytes(2 * buffer.length); // worst case scenario
466
uint256 outputLength = 0;
467
468
- for (uint256 i; i < buffer.length; ++i) {
+ for (uint256 i = 0; i < buffer.length; ++i) {
469
bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));
470
if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {
471
output[outputLength++] = "\\";
0 commit comments