64-bit cleanness: More UInt-->SizeT changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2909 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c
index e111dc7..3a9e7d7 100644
--- a/coregrind/vg_memory.c
+++ b/coregrind/vg_memory.c
@@ -66,7 +66,7 @@
/*--- Maintain an ordered list of all the client's mappings ---*/
/*--------------------------------------------------------------*/
-Bool VG_(seg_contains)(const Segment *s, Addr p, UInt len)
+Bool VG_(seg_contains)(const Segment *s, Addr p, SizeT len)
{
Addr se = s->addr+s->len;
Addr pe = p+len;
@@ -76,7 +76,7 @@
return (p >= s->addr && pe <= se);
}
-Bool VG_(seg_overlaps)(const Segment *s, Addr p, UInt len)
+Bool VG_(seg_overlaps)(const Segment *s, Addr p, SizeT len)
{
Addr se = s->addr+s->len;
Addr pe = p+len;
@@ -105,7 +105,7 @@
{
recycleseg(s);
if (s->symtab != NULL) {
- VG_(symtab_decref)(s->symtab, s->addr, s->len);
+ VG_(symtab_decref)(s->symtab, s->addr);
s->symtab = NULL;
}
@@ -344,7 +344,7 @@
s->dev != dev ||
s->ino != ino ||
s->offset != off)) {
- VG_(symtab_decref)(s->symtab, s->addr, s->len);
+ VG_(symtab_decref)(s->symtab, s->addr);
s->symtab = NULL;
}
} else {