changeset 6461:fdcbdafe2073

8043164: Format warning in traceStream.hpp Summary: added cast to placate gcc Reviewed-by: kvn, zgu
author drchase
date Wed, 14 May 2014 22:54:45 -0400
parents 193b0ff17995
children 1a485aafdbb1
files src/share/vm/trace/traceStream.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/trace/traceStream.hpp	Wed May 14 18:18:58 2014 +0200
+++ b/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) {