ICU-535 use va_arg(arg, double) and cast down to float or gcc 2.96 will

make an error about va_arg(arg, float) since float is promoted to double
in ...

X-SVN-Rev: 2726
This commit is contained in:
Yves Arrouye 2000-10-18 23:55:53 +00:00
parent db2f9cef53
commit b5b2c11964

View File

@ -1694,7 +1694,7 @@ u_vfprintf_u( UFILE *f,
break;
case ufmt_float:
args[cur_arg].floatValue = va_arg(ap, float);
args[cur_arg].floatValue = (float) va_arg(ap, double);
break;
case ufmt_double: