diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-11-25 12:16:22 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-11-25 12:16:22 +0000 |
commit | cd870a00866832ff4b798c9b5977ca6c2c4844b9 (patch) | |
tree | 76c3aa0e8686f331a4f282769ba1d2db350e66d4 /tests/tprintf.c | |
parent | 262bbec421a0065da6f0a4cbe31aa2c2350f462e (diff) | |
download | mpfr-cd870a00866832ff4b798c9b5977ca6c2c4844b9.tar.gz |
[tfprintf.c,tprintf.c] Fixed other types in function with variable
arguments (even though there were no warnings on the tested machine).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6587 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tprintf.c')
-rw-r--r-- | tests/tprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tprintf.c b/tests/tprintf.c index 6cdca03e8..cf81f4cc0 100644 --- a/tests/tprintf.c +++ b/tests/tprintf.c @@ -280,7 +280,7 @@ check_mixed (void) #ifndef NPRINTF_T check_vprintf ("%% a. %RNg, b. %Qx, c. %td%tn", mpfr, mpq, p, &p); - check_length (8, p, 20, d); /* no format specifier '%td' in C89 */ + check_length (8, (long) p, 20, ld); /* no format specifier '%td' in C89 */ #endif #ifndef NPRINTF_L @@ -290,7 +290,7 @@ check_mixed (void) #ifndef NPRINTF_HH check_vprintf ("a. %hhi, b. %Ra, c. %hhu%hhn", sch, mpfr, uch, &uch); - check_length (10, uch, 22, u); /* no format specifier '%hhu' in C89 */ + check_length (10, (unsigned int) uch, 22, u); /* no format specifier '%hhu' in C89 */ #endif #if defined(HAVE_LONG_LONG) && !defined(NPRINTF_LL) |