]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix compiler warning.
authorTom Hughes <tom@compton.nu>
Sat, 13 Nov 2004 00:39:37 +0000 (00:39 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 13 Nov 2004 00:39:37 +0000 (00:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2983

coregrind/vg_scheduler.c

index 0edb0fa4723bd946397ed650e3685f690195d9ef..05cfe2bb4077f21b4d959a5a9f52e3ec9435b040 100644 (file)
@@ -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 );
    }