hotspot/src/share/vm/runtime/os.cpp
changeset 8652 209b2ce94ce5
parent 8320 544210b4dd48
child 8736 e102eed725a2
--- a/hotspot/src/share/vm/runtime/os.cpp	Thu Mar 03 19:52:23 2011 -0500
+++ b/hotspot/src/share/vm/runtime/os.cpp	Thu Mar 03 19:53:03 2011 -0500
@@ -633,10 +633,10 @@
       *q = (u_char)freeBlockPad;
     }
     if (PrintMalloc && tty != NULL)
-      fprintf(stderr, "os::free " SIZE_FORMAT " bytes --> " PTR_FORMAT "\n", size, memblock);
+      fprintf(stderr, "os::free " SIZE_FORMAT " bytes --> " PTR_FORMAT "\n", size, (uintptr_t)memblock);
   } else if (PrintMalloc && tty != NULL) {
     // tty->print_cr("os::free %p", memblock);
-    fprintf(stderr, "os::free " PTR_FORMAT "\n", memblock);
+    fprintf(stderr, "os::free " PTR_FORMAT "\n", (uintptr_t)memblock);
   }
 #endif
   ::free((char*)memblock - space_before);