64-bit cleanness:
- Use SizeT instead of UInt for new_mem_stack and all the related functions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2908 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/core.h b/coregrind/core.h
index 3c792f1..d9583d5 100644
--- a/coregrind/core.h
+++ b/coregrind/core.h
@@ -1012,10 +1012,10 @@
 extern Int VG_(poll)( struct vki_pollfd *, UInt nfds, Int timeout);
 
 /* system/mman.h */
-extern void* VG_(mmap)( void* start, UInt length, UInt prot, UInt flags,
+extern void* VG_(mmap)( void* start, SizeT length, UInt prot, UInt flags,
                         UInt sf_flags, UInt fd, UInt offset );
-extern Int  VG_(munmap)( void* start, Int length );
-extern Int  VG_(mprotect)( void *start, Int length, UInt prot );
+extern Int  VG_(munmap)( void* start, SizeT length );
+extern Int  VG_(mprotect)( void *start, SizeT length, UInt prot );
 
 
 /* Move an fd into the Valgrind-safe range */
@@ -1308,19 +1308,19 @@
 };
 
 /* segment mapped from a file descriptor */
-extern void VG_(map_fd_segment)  (Addr addr, UInt len, UInt prot, UInt flags, 
+extern void VG_(map_fd_segment)  (Addr addr, SizeT len, UInt prot, UInt flags, 
 				  Int fd, ULong off, const Char *filename);
 
 /* segment mapped from a file */
-extern void VG_(map_file_segment)(Addr addr, UInt len, UInt prot, UInt flags, 
+extern void VG_(map_file_segment)(Addr addr, SizeT len, UInt prot, UInt flags, 
 				  UInt dev, UInt ino, ULong off, const Char *filename);
 
 /* simple segment */
-extern void VG_(map_segment)     (Addr addr, UInt len, UInt prot, UInt flags);
+extern void VG_(map_segment)     (Addr addr, SizeT len, UInt prot, UInt flags);
 
-extern void VG_(unmap_range)   (Addr addr, UInt len);
-extern void VG_(mprotect_range)(Addr addr, UInt len, UInt prot);
-extern Addr VG_(find_map_space)(Addr base, UInt len, Bool for_client);
+extern void VG_(unmap_range)   (Addr addr, SizeT len);
+extern void VG_(mprotect_range)(Addr addr, SizeT len, UInt prot);
+extern Addr VG_(find_map_space)(Addr base, SizeT len, Bool for_client);
 
 extern Segment *VG_(find_segment)(Addr a);
 extern Segment *VG_(first_segment)(void);