aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-10-20 00:43:31 +0800
committerchriseth <c@ethdev.com>2016-11-16 21:37:18 +0800
commitff3553a34895c70c473a27c29464ebfc15375416 (patch)
tree458da0ce9c880e7bd6a996feea621d4e22bbd980 /libsolidity/ast
parent679ea2820fd6bb76ddd294101ef548bab6cd6425 (diff)
downloaddexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.gz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.zst
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.zip
Change alignment.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index 15747a8b..8cc125fe 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -2078,7 +2078,7 @@ TypePointer FunctionType::encodingType() const
TypePointer FunctionType::interfaceType(bool /*_inLibrary*/) const
{
if (m_location == Location::External)
- return make_shared<IntegerType>(8 * storageBytes());
+ return make_shared<FixedBytesType>(storageBytes());
else
return TypePointer();
}