mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-1886 AIX fix, ambiguous call to format
X-SVN-Rev: 8594
This commit is contained in:
parent
4395612ac3
commit
f68efa2bf8
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
// Format the date in default locale
|
||||
str.remove();
|
||||
defFmt->format(cal->getTime(status), str, status);
|
||||
defFmt->format((Formattable)cal->getTime(status), str, status);
|
||||
check(status, "DateFormat::format");
|
||||
printf("Date: ");
|
||||
uprintf(escape(str));
|
||||
|
@ -47,7 +47,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
// Format the date for Greece
|
||||
str.remove();
|
||||
fmt->format(cal->getTime(status), str, status);
|
||||
fmt->format((Formattable)cal->getTime(status), str, status);
|
||||
check(status, "DateFormat::format");
|
||||
printf("Greek formatted date: ");
|
||||
uprintf(escape(str));
|
||||
|
|
Loading…
Add table
Reference in a new issue