From c8135595beda3e5d0575a1201a26e26b88fca549 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 8 Aug 2001 00:53:50 +0000 Subject: [PATCH] signed/unsigned warnings? --- vvp/vthread.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vvp/vthread.cc b/vvp/vthread.cc index 6a8b230d5..00970c183 100644 --- a/vvp/vthread.cc +++ b/vvp/vthread.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: vthread.cc,v 1.51 2001/07/22 00:04:50 steve Exp $" +#ident "$Id: vthread.cc,v 1.52 2001/08/08 00:53:50 steve Exp $" #endif # include "vthread.h" @@ -1144,7 +1144,7 @@ bool of_SHIFTL_I0(vthread_t thr, vvp_code_t cp) { unsigned base = cp->bit_idx1; unsigned wid = cp->number; - long shift = thr->index[0]; + unsigned long shift = thr->index[0]; if (shift >= wid) { for (unsigned idx = 0 ; idx < wid ; idx += 1) @@ -1169,7 +1169,7 @@ bool of_SHIFTR_I0(vthread_t thr, vvp_code_t cp) { unsigned base = cp->bit_idx1; unsigned wid = cp->number; - long shift = thr->index[0]; + unsigned long shift = thr->index[0]; if (shift >= wid) { for (unsigned idx = 0 ; idx < wid ; idx += 1) @@ -1336,6 +1336,9 @@ bool of_ZOMBIE(vthread_t thr, vvp_code_t) /* * $Log: vthread.cc,v $ + * Revision 1.52 2001/08/08 00:53:50 steve + * signed/unsigned warnings? + * * Revision 1.51 2001/07/22 00:04:50 steve * Add the load/x instruction for bit selects. *