8253548: jvmFlagAccess.cpp: clang 9.0.0 format specifier error

Reviewed-by: lfoltan
This commit is contained in:
Ioi Lam 2020-09-29 15:17:34 +00:00
parent ff6843ca48
commit b1ce6bdba9

View File

@ -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));
}
};