lots of little wibbles



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4432 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/massif/ms_main.c b/massif/ms_main.c
index e0ebe0a..c44e2a1 100644
--- a/massif/ms_main.c
+++ b/massif/ms_main.c
@@ -711,7 +711,7 @@
    n_frees++;
 
    // Remove HP_Chunk from malloc_list
-   hc = (HP_Chunk*)VG_(HT_remove)(malloc_list, (UWord)p);
+   hc = VG_(HT_remove)(malloc_list, (UWord)p);
    if (NULL == hc)
       return;   // must have been a bogus free()
    tl_assert(n_heap_blocks > 0);
@@ -783,7 +783,7 @@
    VGP_PUSHCC(VgpCliMalloc);
 
    // First try and find the block.
-   hc = (HP_Chunk*)VG_(HT_remove)(malloc_list, (UWord)p_old);
+   hc = VG_(HT_remove)(malloc_list, (UWord)p_old);
    if (hc == NULL) {
       VGP_POPCC(VgpCliMalloc);
       return NULL;   // must have been a bogus realloc()