From: Nicholas Nethercote Date: Mon, 4 Apr 2005 02:48:32 +0000 (+0000) Subject: 64-bit cleanness -- use UWord instead of UInt. X-Git-Tag: svn/VALGRIND_3_0_0~801 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f21dcf1fa051a50ec04cdf77a81afcfab6a5daf;p=thirdparty%2Fvalgrind.git 64-bit cleanness -- use UWord instead of UInt. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3517 --- diff --git a/coregrind/vg_scheduler.c b/coregrind/vg_scheduler.c index 91ac17305c..0fe240cddc 100644 --- a/coregrind/vg_scheduler.c +++ b/coregrind/vg_scheduler.c @@ -628,7 +628,7 @@ void VG_(scheduler_init) ( void ) /* Initial thread's stack is the original process stack */ VG_(threads)[tid_main].client_stack_highest_word - = VG_(clstk_end) - sizeof(UInt); + = VG_(clstk_end) - sizeof(UWord); VG_(threads)[tid_main].client_stack_szB = VG_(client_rlimit_stack).rlim_cur; VG_(atfork)(NULL, NULL, sched_fork_cleanup);