Avoid compiler warnings.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3631 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 897debf..fdb3b45 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -2175,7 +2175,7 @@
    if (start >= VG_(client_end) && start < VG_(valgrind_last)) {
       VG_(debugLog)(2, "main",
                     "valgrind-seg: %p-%p prot 0x%x file=%s\n",
-                    start, start+size, prot, filename);
+                    (void*)start, (void*)(start+size), prot, filename);
       VG_(map_file_segment)(start, size, prot,
                             SF_MMAP|SF_NOSYMS|SF_VALGRIND,
                             dev, ino, foffset, filename);
@@ -2211,7 +2211,8 @@
 
    VG_(debugLog)(2, "main",
                  "any-seg: %p-%p prot 0x%x stack=%d file=%s\n",
-                 start, start+size, prot, is_stack_segment, filename);
+                 (void*)start, (void*)(start+size), prot, is_stack_segment, 
+                 filename);
 
    if (is_stack_segment)
       flags = SF_STACK | SF_GROWDOWN;