mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Work around bug in u256->unsigned conversion for MSVC/Boost.
This commit is contained in:
parent
b4c46201ef
commit
5caad351f8
@ -34,7 +34,8 @@ using namespace std;
|
|||||||
using namespace dev;
|
using namespace dev;
|
||||||
using namespace dev::eth;
|
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.");
|
assertThrow( _id < initial().m_id, OptimizerException, "Tag number too large.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user