aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-28 15:15:03 +0800
committerGitHub <noreply@github.com>2018-05-28 15:15:03 +0800
commit0c223b037fa9750b188850a0d74c13ca5de5e6db (patch)
treec79a804e51a2866b784e659b78f727a3193119ef
parentf5f1bec75995c8e1025750df149c08e3287f7bcb (diff)
parentfb08030a071f5f3a3f59fea7d68792936a7c04a6 (diff)
downloaddexon-solidity-0c223b037fa9750b188850a0d74c13ca5de5e6db.tar.gz
dexon-solidity-0c223b037fa9750b188850a0d74c13ca5de5e6db.tar.zst
dexon-solidity-0c223b037fa9750b188850a0d74c13ca5de5e6db.zip
Merge pull request #4194 from ritzdorf/patch-1
Array Length mistankingly taken as Offset
-rw-r--r--docs/assembly.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst
index 443cb7da..f7b721ab 100644
--- a/docs/assembly.rst
+++ b/docs/assembly.rst
@@ -115,7 +115,7 @@ you really know what you are doing.
// Iterate until the bound is not met.
for
- { let end := add(data, len) }
+ { let end := add(data, mul(len, 0x20)) }
lt(data, end)
{ data := add(data, 0x20) }
{