From: Tom Hughes Date: Sat, 13 Nov 2004 00:39:37 +0000 (+0000) Subject: Fix compiler warning. X-Git-Tag: svn/VALGRIND_3_0_0~1329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbc0767128b26b30dbe70e765b1f81b3d660eac2;p=thirdparty%2Fvalgrind.git Fix compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2983 --- diff --git a/coregrind/vg_scheduler.c b/coregrind/vg_scheduler.c index 0edb0fa472..05cfe2bb40 100644 --- a/coregrind/vg_scheduler.c +++ b/coregrind/vg_scheduler.c @@ -1391,7 +1391,7 @@ void VG_(nuke_all_threads_except) ( ThreadId me ) VG_(threads)[tid].status = VgTs_Empty; VG_(threads)[tid].associated_mx = NULL; VG_(threads)[tid].associated_cv = NULL; - VG_(threads)[tid].stack_base = NULL; + VG_(threads)[tid].stack_base = (Addr)NULL; VG_(threads)[tid].stack_size = 0; cleanup_after_thread_exited( tid, True ); }