aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-08-09 02:12:52 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-08-09 03:05:31 +0800
commitf1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0 (patch)
treef2a8c4b580a38cf372d607d97e3d355742f28ce2 /libsolidity/ast
parentc1571634413fe7de3140b7fdbf55b1d884ef03ff (diff)
downloaddexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.gz
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.bz2
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.lz
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.xz
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.zst
dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.zip
Use size_t in dev::utf8::validate()
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 d6f6225c..aae18934 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -855,7 +855,7 @@ bool StringLiteralType::operator==(const Type& _other) const
std::string StringLiteralType::toString(bool) const
{
- int invalidSequence;
+ size_t invalidSequence;
if (!dev::utf8::validate(m_value, invalidSequence))
return "literal_string (contains invalid UTF-8 sequence at position " + dev::toString(invalidSequence) + ")";