# HG changeset patch # User drchase # Date 1400122485 14400 # Node ID 07e8e98ca6afcdcd64b342ff5bb2ca3e8c00eb8e # Parent d340b077674ff9f6c7dfc351d94be7231829a094 8043164: Format warning in traceStream.hpp Summary: added cast to placate gcc Reviewed-by: kvn, zgu diff -r d340b077674f -r 07e8e98ca6af 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) {