From: Bart Van Assche Date: Wed, 11 Jun 2008 18:37:59 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: svn/VALGRIND_3_4_0~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4804e6bbe7ac8de7acca357d75eed2dbc50873a;p=thirdparty%2Fvalgrind.git Fixed compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8221 --- diff --git a/exp-drd/drd_thread.h b/exp-drd/drd_thread.h index 6df7e5f9f0..2c47430b05 100644 --- a/exp-drd/drd_thread.h +++ b/exp-drd/drd_thread.h @@ -180,7 +180,9 @@ static __inline__ void thread_set_stack_min(const DrdThreadId tid, const Addr stack_min) { #ifdef ENABLE_DRD_CONSISTENCY_CHECKS - tl_assert(0 <= tid && tid < DRD_N_THREADS && tid != DRD_INVALID_THREADID); + tl_assert(0 <= (int)tid + && tid < DRD_N_THREADS + && tid != DRD_INVALID_THREADID); #endif s_threadinfo[tid].stack_min = stack_min; #ifdef ENABLE_DRD_CONSISTENCY_CHECKS