hotspot/src/cpu/x86/vm/methodHandles_x86.cpp
changeset 20282 7f9cbdf89af2
parent 16670 4af09aff4237
child 20300 fe4818444117
--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Wed Sep 25 17:47:51 2013 +0200
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Thu Sep 26 10:25:02 2013 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -475,7 +475,7 @@
   const char* mh_reg_name = has_mh ? "rcx_mh" : "rcx";
   tty->print_cr("MH %s %s="PTR_FORMAT" sp="PTR_FORMAT,
                 adaptername, mh_reg_name,
-                mh, entry_sp);
+                (void *)mh, entry_sp);
 
   if (Verbose) {
     tty->print_cr("Registers:");