hotspot/src/share/vm/oops/constantPool.cpp
changeset 46630 75aa3e39d02c
parent 46560 388aa8d67c80
child 46746 ea379ebb9447
--- a/hotspot/src/share/vm/oops/constantPool.cpp	Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/oops/constantPool.cpp	Thu Jul 06 01:50:26 2017 +0200
@@ -1738,7 +1738,7 @@
     assert(size + ent_size <= cpool_size, "Size mismatch");
 
     *bytes = tag;
-    DBG(printf("#%03hd tag=%03hd, ", idx, tag));
+    DBG(printf("#%03hd tag=%03hd, ", (short)idx, (short)tag));
     switch(tag) {
       case JVM_CONSTANT_Invalid: {
         DBG(printf("JVM_CONSTANT_Invalid"));