From: Nicholas Nethercote Date: Mon, 29 Nov 2004 17:33:31 +0000 (+0000) Subject: 64-bit cleanness: make VG_(do_syscall)() return a Word, not an Int. X-Git-Tag: svn/VALGRIND_3_0_0~1171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4671df6540cf71d0dc3b76979534c5e2c6d0157;p=thirdparty%2Fvalgrind.git 64-bit cleanness: make VG_(do_syscall)() return a Word, not an Int. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3147 --- diff --git a/coregrind/core.h b/coregrind/core.h index 012c2b0cc4..ef0cb8fd20 100644 --- a/coregrind/core.h +++ b/coregrind/core.h @@ -1736,7 +1736,7 @@ extern Int VG_(get_bbs_translated) ( void ); // cause problems when passing 32-bit integers on 64-bit platforms, because // the top 32-bits might not be zeroed appropriately, eg. as would happen // with the 6th arg on AMD64 which is passed on the stack. -extern Int VG_(do_syscall) ( UInt, UWord, UWord, UWord, UWord, UWord, UWord ); +extern Word VG_(do_syscall) ( UInt, UWord, UWord, UWord, UWord, UWord, UWord ); // Macros make life easier. #define vgPlain_do_syscall0(s) VG_(do_syscall)((s),0,0,0,0,0,0)