Fix win64 compile errors (ambiguous comparisons between unsigned_int and uint16)
This commit is contained in:
parent
816ad4b7a6
commit
52a72cdd9f
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ void_result assert_evaluator::do_evaluate( const assert_operation& o )
|
|||
unsigned_int t;
|
||||
fc::raw::unpack( is, t );
|
||||
// everyone checks: delegates must have allocated an opcode for it
|
||||
FC_ASSERT( t < _db.get_global_properties().parameters.max_predicate_opcode );
|
||||
if( t >= predicate::count() )
|
||||
FC_ASSERT( t.value < _db.get_global_properties().parameters.max_predicate_opcode );
|
||||
if( t.value >= predicate::count() )
|
||||
{
|
||||
//
|
||||
// delegates allocated an opcode, but our client doesn't know
|
||||
|
|
|
|||
Loading…
Reference in a new issue