ICU-22721 Correct format specifier for type int32_t (-Wformat).

This commit is contained in:
Fredrik Roubert 2024-06-18 17:05:38 +02:00 committed by Frank Yung-Fong Tang
parent e6674c7360
commit 8f6ba2a7a5

View file

@ -632,7 +632,7 @@ public:
case Formattable::kInt64:
{
char buf[256];
sprintf(buf, "%ldL", f.getLong());
sprintf(buf, "%dL", f.getLong());
return UnicodeString(buf, "");
}
case Formattable::kString: