8043164: Format warning in traceStream.hpp
authordrchase
Wed, 14 May 2014 22:54:45 -0400
changeset 24452 07e8e98ca6af
parent 24451 d340b077674f
child 24453 3863651dc319
8043164: Format warning in traceStream.hpp Summary: added cast to placate gcc Reviewed-by: kvn, zgu
hotspot/src/share/vm/trace/traceStream.hpp
--- a/hotspot/src/share/vm/trace/traceStream.hpp	Wed May 14 18:18:58 2014 +0200
+++ b/hotspot/src/share/vm/trace/traceStream.hpp	Wed May 14 22:54:45 2014 -0400
@@ -66,7 +66,7 @@
   }
 
   void print_val(const char* label, s8 val) {
-    _st.print("%s = "INT64_FORMAT, label, val);
+    _st.print("%s = "INT64_FORMAT, label, (int64_t) val);
   }
 
   void print_val(const char* label, bool val) {