mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5626 Fix bad fprintf format specifier when warnings are turned into errors
X-SVN-Rev: 21554
This commit is contained in:
parent
b277e47801
commit
f5d8c129ee
2 changed files with 2 additions and 2 deletions
2
icu4c/source/aclocal.m4
vendored
2
icu4c/source/aclocal.m4
vendored
|
@ -357,7 +357,7 @@ main()
|
|||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof($1));
|
||||
fprintf(f, "%d\n", (int)sizeof($1));
|
||||
exit(0);
|
||||
}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=0, ifelse([$2], , , AC_CV_NAME=$2))])dnl
|
||||
AC_MSG_RESULT($AC_CV_NAME)
|
||||
|
|
2
icu4c/source/configure
vendored
2
icu4c/source/configure
vendored
|
@ -7509,7 +7509,7 @@ main()
|
|||
{
|
||||
FILE *f=fopen("conftestval", "w");
|
||||
if (!f) exit(1);
|
||||
fprintf(f, "%d\n", sizeof(wchar_t));
|
||||
fprintf(f, "%d\n", (int)sizeof(wchar_t));
|
||||
exit(0);
|
||||
}
|
||||
_ACEOF
|
||||
|
|
Loading…
Add table
Reference in a new issue