64-bit cleanness: Converted malloc() et al to use SizeT rather than Int.
This required some tricks with casting to maintain Memcheck's silly (ie.
negative) arg checking. The allocator was also changed accordingly. It
should now be able to allocate more than 4GB blocks on 64-bit platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2906 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/basic_types.h b/include/basic_types.h
index 0764315..01f38e3 100644
--- a/include/basic_types.h
+++ b/include/basic_types.h
@@ -54,6 +54,9 @@
typedef UWord Addr; // 32 64
+typedef UWord SizeT; // 32 64
+typedef Word SSizeT; // 32 64
+
typedef UChar Bool; // 8 8
#define False ((Bool)0)
#define True ((Bool)1)