diff options
author | chriseth <chris@ethereum.org> | 2018-11-07 19:42:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-07 19:42:02 +0800 |
commit | a459b8c81ec92f39be67c2d373d120eb86140e00 (patch) | |
tree | 3ff90d9e6afde63d1217b37ed62ab6e98d1139fc /libsolidity | |
parent | 88aee34c22d86a004848ae8bdc818b5168dd94cb (diff) | |
parent | ab0de38f16a9eff13ee5a32a3408b890d87941f6 (diff) | |
download | dexon-solidity-a459b8c81ec92f39be67c2d373d120eb86140e00.tar.gz dexon-solidity-a459b8c81ec92f39be67c2d373d120eb86140e00.tar.zst dexon-solidity-a459b8c81ec92f39be67c2d373d120eb86140e00.zip |
Merge pull request #5359 from ethereum/cpp17-forward-compat
Eliminate `byte`-typedef and use `uint8_t` in all their places instead.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/interface/Version.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/interface/Version.cpp b/libsolidity/interface/Version.cpp index a35bfd29..b5f68ce8 100644 --- a/libsolidity/interface/Version.cpp +++ b/libsolidity/interface/Version.cpp @@ -55,13 +55,13 @@ bytes dev::solidity::binaryVersion() ret = ret * 10 + (VersionString[i] - '0'); return ret; }; - ret.push_back(byte(parseDecimal())); + ret.push_back(uint8_t(parseDecimal())); solAssert(i < VersionString.size() && VersionString[i] == '.', ""); ++i; - ret.push_back(byte(parseDecimal())); + ret.push_back(uint8_t(parseDecimal())); solAssert(i < VersionString.size() && VersionString[i] == '.', ""); ++i; - ret.push_back(byte(parseDecimal())); + ret.push_back(uint8_t(parseDecimal())); solAssert(i < VersionString.size() && (VersionString[i] == '-' || VersionString[i] == '+'), ""); ++i; size_t commitpos = VersionString.find("commit."); |