Revert one change from previous patch.
I was mistaken in changing the cast in the comparison.
This commit is contained in:
parent
1b300cb2f6
commit
5a11a8a9c2
|
|
@ -254,7 +254,7 @@ bool vvp_fun_part_var::recv_vec4_(vvp_net_ptr_t port, const vvp_vector4_t&bit,
|
|||
// We need a new .part/v that knows if the index is signed.
|
||||
// For now this will work for a normal integer value.
|
||||
vector4_to_value(bit, tmp, false);
|
||||
if (tmp == (long)base) return false;
|
||||
if ((int)tmp == base) return false;
|
||||
base = tmp;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue