diff --git a/include/date/date.h b/include/date/date.h index b8dd6a7..79ab0da 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -6248,7 +6248,7 @@ read(std::basic_istream& is, int a0, Args&& ...args) auto e = buf; do { - *e++ = CharT(u % 10) + CharT{'0'}; + *e++ = static_cast(CharT(u % 10) + CharT{'0'}); u /= 10; } while (u > 0); std::reverse(buf, e);