From b1ce6bdba9ce9a9dcdeb63bca1b2a502bc61bd63 Mon Sep 17 00:00:00 2001 From: Ioi Lam Date: Tue, 29 Sep 2020 15:17:34 +0000 Subject: [PATCH] 8253548: jvmFlagAccess.cpp: clang 9.0.0 format specifier error Reviewed-by: lfoltan --- src/hotspot/share/runtime/flags/jvmFlagAccess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp b/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp index 56d752d337d..07ff6b1546e 100644 --- a/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp +++ b/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp @@ -247,7 +247,7 @@ public: st->print("[ " SIZE_FORMAT_W(-25) " ... " SIZE_FORMAT_W(25) " ]", min, max); } void print_default_range(outputStream* st) const { - st->print("[ " SIZE_FORMAT_W(-25) " ... " SIZE_FORMAT_W(25) " ]", size_t(0), SIZE_MAX); + st->print("[ " SIZE_FORMAT_W(-25) " ... " SIZE_FORMAT_W(25) " ]", size_t(0), size_t(SIZE_MAX)); } };