changeset 30212:c623f227022e

8076532: Fix format warning/error in methodHandles_ppc.cpp Reviewed-by: dholmes
author simonis
date Thu, 02 Apr 2015 11:28:55 +0200
parents 442fbbb31f75
children 7037da36374a
files hotspot/src/cpu/ppc/vm/methodHandles_ppc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:");