diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-08-09 02:12:52 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-08-09 03:05:31 +0800 |
commit | f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0 (patch) | |
tree | f2a8c4b580a38cf372d607d97e3d355742f28ce2 /libdevcore/UTF8.h | |
parent | c1571634413fe7de3140b7fdbf55b1d884ef03ff (diff) | |
download | dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.gz dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.tar.zst dexon-solidity-f1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0.zip |
Use size_t in dev::utf8::validate()
Diffstat (limited to 'libdevcore/UTF8.h')
-rw-r--r-- | libdevcore/UTF8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/UTF8.h b/libdevcore/UTF8.h index 2824d5bf..d6959f3e 100644 --- a/libdevcore/UTF8.h +++ b/libdevcore/UTF8.h @@ -33,7 +33,7 @@ namespace utf8 /// Validate an input for UTF8 encoding /// @returns true if it is invalid and the first invalid position in invalidPosition -bool validate(std::string const& _input, int& _invalidPosition); +bool validate(std::string const& _input, size_t& _invalidPosition); } |