diff options
author | chriseth <c@ethdev.com> | 2015-11-16 18:48:38 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-16 18:48:38 +0800 |
commit | 5caad351f88e54afa6c38074938c18705fdd319c (patch) | |
tree | 639eebe8aa02a8dbc54cb047af209016994deb23 | |
parent | b4c46201ef8c46594f442e9b11bf22a8a04b642e (diff) | |
download | dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar.gz dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar.bz2 dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar.lz dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar.xz dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.tar.zst dexon-solidity-5caad351f88e54afa6c38074938c18705fdd319c.zip |
Work around bug in u256->unsigned conversion for MSVC/Boost.
-rw-r--r-- | ControlFlowGraph.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ControlFlowGraph.cpp b/ControlFlowGraph.cpp index 41a53aa8..5adb951a 100644 --- a/ControlFlowGraph.cpp +++ b/ControlFlowGraph.cpp @@ -34,7 +34,8 @@ using namespace std; using namespace dev; using namespace dev::eth; -BlockId::BlockId(u256 const& _id): m_id(_id) +BlockId::BlockId(u256 const& _id): + m_id(unsigned(_id)) { assertThrow( _id < initial().m_id, OptimizerException, "Tag number too large."); } |