Skip to content

Commit

Permalink
ICU-22721 Correct format specifier for type int32_t (-Wformat).
Browse files Browse the repository at this point in the history
  • Loading branch information
roubert authored and FrankYFTang committed Jun 18, 2024
1 parent e6674c7 commit 8f6ba2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/test/perf/DateFmtPerf/DateFmtPerf.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ class NumFmtFunction : public UPerfFunction
case Formattable::kInt64:
{
char buf[256];
sprintf(buf, "%ldL", f.getLong());
sprintf(buf, "%dL", f.getLong());
return UnicodeString(buf, "");
}
case Formattable::kString:
Expand Down

0 comments on commit 8f6ba2a

Please sign in to comment.