From: Nicholas Nethercote Date: Wed, 20 May 2009 03:20:05 +0000 (+0000) Subject: DARWIN sync: UInt -> Int. X-Git-Tag: svn/VALGRIND_3_5_0~651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55fec7df98a1caaedcc8d4c891fffd9e4861328;p=thirdparty%2Fvalgrind.git DARWIN sync: UInt -> Int. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10006 --- diff --git a/coregrind/m_aspacemgr/aspacemgr-common.c b/coregrind/m_aspacemgr/aspacemgr-common.c index f6f0488870..62c21dab61 100644 --- a/coregrind/m_aspacemgr/aspacemgr-common.c +++ b/coregrind/m_aspacemgr/aspacemgr-common.c @@ -147,7 +147,7 @@ UInt ML_(am_sprintf) ( HChar* buf, const HChar *format, ... ) /* Note: this is VG_, not ML_. */ SysRes VG_(am_do_mmap_NO_NOTIFY)( Addr start, SizeT length, UInt prot, - UInt flags, UInt fd, Off64T offset) + UInt flags, Int fd, Off64T offset) { SysRes res; aspacem_assert(VG_IS_PAGE_ALIGNED(offset)); diff --git a/coregrind/pub_core_aspacemgr.h b/coregrind/pub_core_aspacemgr.h index 066d1cfc64..c47120fc71 100644 --- a/coregrind/pub_core_aspacemgr.h +++ b/coregrind/pub_core_aspacemgr.h @@ -190,7 +190,7 @@ extern Bool VG_(am_notify_munmap)( Addr start, SizeT len ); USE IT UNLESS YOU UNDERSTAND the request-notify model used by aspacem. In short, DO NOT USE THIS FUNCTION. */ extern SysRes VG_(am_do_mmap_NO_NOTIFY) - ( Addr start, SizeT length, UInt prot, UInt flags, UInt fd, Off64T offset); + ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset); //--------------------------------------------------------------