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:
parent
db2f9cef53
commit
b5b2c11964
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user