]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed compiler warning.
authorBart Van Assche <bvanassche@acm.org>
Wed, 11 Jun 2008 18:37:59 +0000 (18:37 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 11 Jun 2008 18:37:59 +0000 (18:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8221

exp-drd/drd_thread.h

index 6df7e5f9f00b5cbd0f10baf39746cfb8122ef397..2c47430b05e6f0430cc7084a886ab0f5e716429f 100644 (file)
@@ -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