--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Thu Sep 30 12:05:08 2010 -0400
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp Thu Oct 07 15:12:57 2010 -0400
@@ -346,7 +346,7 @@
if (stack_dump_count > 64) stack_dump_count = 48;
for (i = 0; i < stack_dump_count; i += 4) {
printf(" dump at SP[%d] "INTPTR_FORMAT": "INTPTR_FORMAT" "INTPTR_FORMAT" "INTPTR_FORMAT" "INTPTR_FORMAT"\n",
- i, &entry_sp[i+0], entry_sp[i+0], entry_sp[i+1], entry_sp[i+2], entry_sp[i+3]);
+ i, (intptr_t)&entry_sp[i+0], entry_sp[i+0], entry_sp[i+1], entry_sp[i+2], entry_sp[i+3]);
}
print_method_handle(mh);
}