hotspot/src/share/vm/classfile/javaClasses.cpp
changeset 1889 24b003a6fe46
parent 950 6112b627bb36
child 1890 9ce941df84eb
--- a/hotspot/src/share/vm/classfile/javaClasses.cpp	Wed Dec 24 13:06:09 2008 -0800
+++ b/hotspot/src/share/vm/classfile/javaClasses.cpp	Wed Dec 24 19:13:53 2008 -0800
@@ -866,7 +866,7 @@
     }
     nmethod* nm = method->code();
     if (WizardMode && nm != NULL) {
-      sprintf(buf + (int)strlen(buf), "(nmethod %#x)", nm);
+      sprintf(buf + (int)strlen(buf), "(nmethod " PTR_FORMAT ")", (intptr_t)nm);
     }
   }