diff options
Diffstat (limited to 'ControlFlowGraph.cpp')
-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."); } |