aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-05-11 20:06:31 +0800
committerchriseth <chris@ethereum.org>2018-05-17 00:32:47 +0800
commitf5a49f679a1ec2b8aef466f41d85bbfa99b9a74a (patch)
treed500cf08243d96336ff9afd80bd1cdf1fe42fb2b /docs/types.rst
parent5c59d56335f3777b9e4ad595b66787ed563b26f1 (diff)
downloaddexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.tar.gz
dexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.tar.zst
dexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.zip
Adjust tests.
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 63cdbe05..3f799c32 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -762,7 +762,7 @@ Members
// Create a dynamic byte array:
bytes memory b = new bytes(200);
for (uint i = 0; i < b.length; i++)
- b[i] = byte(i);
+ b[i] = byte(uint8(i));
return b;
}
}