hotspot/src/cpu/ppc/vm/methodHandles_ppc.cpp
changeset 30212 c623f227022e
parent 29081 c61eb4914428
child 31592 43f48e165466
--- a/hotspot/src/cpu/ppc/vm/methodHandles_ppc.cpp	Wed Apr 01 18:07:50 2015 -0700
+++ b/hotspot/src/cpu/ppc/vm/methodHandles_ppc.cpp	Thu Apr 02 11:28:55 2015 +0200
@@ -466,7 +466,7 @@
                  strstr(adaptername, "linkTo") == NULL);    // static linkers don't have MH
   const char* mh_reg_name = has_mh ? "R23_method_handle" : "G23";
   tty->print_cr("MH %s %s="INTPTR_FORMAT " sp=" INTPTR_FORMAT,
-                adaptername, mh_reg_name, (intptr_t) mh, entry_sp);
+                adaptername, mh_reg_name, p2i(mh), p2i(entry_sp));
 
   if (Verbose) {
     tty->print_cr("Registers:");