ICU-5626 Fix bad fprintf format specifier when warnings are turned into errors

X-SVN-Rev: 21554
This commit is contained in:
George Rhoten 2007-05-17 16:44:33 +00:00
parent b277e47801
commit f5d8c129ee
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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