8079280: Fix format warning/error in vm_version_ppc.cpp
authorsimonis
Mon, 04 May 2015 18:41:53 +0200
changeset 30587 751a7698b62e
parent 30314 3d55863a66ba
child 30588 24fc4b3a964e
8079280: Fix format warning/error in vm_version_ppc.cpp Reviewed-by: stefank
hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
--- a/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp	Sat May 02 00:16:29 2015 -0700
+++ b/hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp	Mon May 04 18:41:53 2015 +0200
@@ -629,7 +629,7 @@
   // Print the detection code.
   if (PrintAssembly) {
     ttyLocker ttyl;
-    tty->print_cr("Decoding dscr configuration stub at " INTPTR_FORMAT " before execution:", code);
+    tty->print_cr("Decoding dscr configuration stub at " INTPTR_FORMAT " before execution:", p2i(code));
     Disassembler::decode((u_char*)code, (u_char*)code_end, tty);
   }