diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-05-05 20:49:08 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-05-05 20:49:08 (GMT) |
commit | 809963a064bfad0100552bb97cb35177dfa74165 (patch) | |
tree | 96a97e730b59435c64ba875fb5bb90b4c82ac7d8 /patches/mpfr/2.4.1/120-cast-to-void-ptr.patch | |
parent | f31a1dc03558ee8b0a7b9af33debf4d0b256d3ee (diff) |
Update the patchset for MPFR 2.4.1 from upstream.
-------- diffstat follows --------
/trunk/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch | 25 25 0 0 ++++++++++++
/trunk/patches/mpfr/2.4.1/130-vasprintf-mp_limb_t.patch | 45 45 0 0 ++++++++++++++++++++++
/trunk/patches/mpfr/2.4.1/140-zeta_ui-shift.patch | 47 47 0 0 +++++++++++++++++++++++
3 files changed, 117 insertions(+)
Diffstat (limited to 'patches/mpfr/2.4.1/120-cast-to-void-ptr.patch')
-rw-r--r-- | patches/mpfr/2.4.1/120-cast-to-void-ptr.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch b/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch new file mode 100644 index 0000000..e85136a --- /dev/null +++ b/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch @@ -0,0 +1,25 @@ +diff -Naurd mpfr-2.4.1-a/tests/tfprintf.c mpfr-2.4.1-b/tests/tfprintf.c +--- mpfr-2.4.1-a/tests/tfprintf.c 2009-02-20 09:43:15.000000000 +0000 ++++ mpfr-2.4.1-b/tests/tfprintf.c 2009-03-10 01:12:45.000000000 +0000 +@@ -195,7 +195,7 @@ + check_vfprintf (fout, "a. %Pu, b. %c, c. %Zi%Zn", prec, ch, mpz, &mpz); + check_length_with_cmp (6, mpz, 17, mpz_cmp_ui (mpz, 17), Zi); + check_vfprintf (fout, "%% a. %#.0RNg, b. %Qx%Rn, c. %p", mpfr, mpq, &mpfr, +- &i); ++ (void *) &i); + check_length_with_cmp (7, mpfr, 16, mpfr_cmp_ui (mpfr, 16), Rg); + + #ifndef NPRINTF_T +diff -Naurd mpfr-2.4.1-a/tests/tprintf.c mpfr-2.4.1-b/tests/tprintf.c +--- mpfr-2.4.1-a/tests/tprintf.c 2009-02-20 09:43:15.000000000 +0000 ++++ mpfr-2.4.1-b/tests/tprintf.c 2009-03-10 01:12:45.000000000 +0000 +@@ -191,7 +191,8 @@ + check_length (5, sz, 34, zu); + check_vprintf ("a. %Pu, b. %c, c. %RUG, d. %Zi%Zn", prec, ch, mpfr, mpz, &mpz); + check_length_with_cmp (6, mpz, 24, mpz_cmp_ui (mpz, 24), Zi); +- check_vprintf ("%% a. %#.0RNg, b. %Qx%Rn c. %p", mpfr, mpq, &mpfr, &i); ++ check_vprintf ("%% a. %#.0RNg, b. %Qx%Rn c. %p", ++ mpfr, mpq, &mpfr, (void *) &i); + check_length_with_cmp (7, mpfr, 16, mpfr_cmp_ui (mpfr, 16), Rg); + + #ifndef NPRINTF_T |