From 7ad50f44541e6e6c1a3d42bd765a084f44a52066 Mon Sep 17 00:00:00 2001 From: Cary R Date: Fri, 11 Sep 2009 08:58:50 -0700 Subject: [PATCH] Revert one change from previous patch. I was mistaken in changing the cast in the comparison. (cherry picked from commit 5a11a8a9c29825bc845e0488a87c4ca8cb7f139c) --- vvp/part.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vvp/part.cc b/vvp/part.cc index 9432eabec..3f5e96caa 100644 --- a/vvp/part.cc +++ b/vvp/part.cc @@ -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: