< prev index next >

src/share/vm/oops/constantPool.cpp

Print this page

        

@@ -1736,11 +1736,11 @@
     jint ent_size = cpool_entry_size(idx);
 
     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"));
         break;
       }
< prev index next >