]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
64-bit cleanness -- use UWord instead of UInt.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 4 Apr 2005 02:48:32 +0000 (02:48 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 4 Apr 2005 02:48:32 +0000 (02:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3517

coregrind/vg_scheduler.c

index 91ac17305c2680d65b145e498a92dddec67f1c90..0fe240cddc8981e5cb52680157d2adada55a683d 100644 (file)
@@ -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);