From 36fe571576a7e5af91d9f95ff0a2252394720a34 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 4 Mar 2015 11:41:15 +0100 Subject: start of cleanup --- Types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Types.cpp') diff --git a/Types.cpp b/Types.cpp index 454d79d9..73cd09d6 100644 --- a/Types.cpp +++ b/Types.cpp @@ -39,7 +39,7 @@ TypePointer Type::fromElementaryTypeName(Token::Value _typeToken) { solAssert(Token::isElementaryTypeName(_typeToken), "Elementary type name expected."); - if (Token::Int <= _typeToken && _typeToken <= Token::Hash256) + if (Token::Int <= _typeToken && _typeToken <= Token::Bytes256) { int offset = _typeToken - Token::Int; int bytes = offset % 33; -- cgit