From 6458d81479fa8b59f5ef72f276a73a6d2aca451c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 May 2003 08:56:39 +0000 Subject: Update. 2003-05-26 Ulrich Drepper * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some other implementation in respect of multiple uses of parameter with different types. --- stdio-common/vfprintf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdio-common/vfprintf.c') diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 087bf91b21..f8e01b73a1 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -1737,13 +1737,13 @@ do_positional: args_value[cnt].mem = va_arg (ap_save, type); \ break - T (PA_CHAR, pa_char, int); /* Promoted. */ + T (PA_CHAR, pa_int, int); /* Promoted. */ T (PA_WCHAR, pa_wchar, wint_t); - T (PA_INT|PA_FLAG_SHORT, pa_short_int, int); /* Promoted. */ + T (PA_INT|PA_FLAG_SHORT, pa_int, int); /* Promoted. */ T (PA_INT, pa_int, int); T (PA_INT|PA_FLAG_LONG, pa_long_int, long int); T (PA_INT|PA_FLAG_LONG_LONG, pa_long_long_int, long long int); - T (PA_FLOAT, pa_float, double); /* Promoted. */ + T (PA_FLOAT, pa_double, double); /* Promoted. */ T (PA_DOUBLE, pa_double, double); T (PA_DOUBLE|PA_FLAG_LONG_DOUBLE, pa_long_double, long double); T (PA_STRING, pa_string, const char *); -- cgit v1.2.1