1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/mpfr/2.4.1/120-cast-to-void-ptr.patch Wed Feb 01 00:19:04 2012 +0100
1.3 @@ -0,0 +1,25 @@
1.4 +diff -Naurd mpfr-2.4.1-a/tests/tfprintf.c mpfr-2.4.1-b/tests/tfprintf.c
1.5 +--- mpfr-2.4.1-a/tests/tfprintf.c 2009-02-20 09:43:15.000000000 +0000
1.6 ++++ mpfr-2.4.1-b/tests/tfprintf.c 2009-03-10 01:12:45.000000000 +0000
1.7 +@@ -195,7 +195,7 @@
1.8 + check_vfprintf (fout, "a. %Pu, b. %c, c. %Zi%Zn", prec, ch, mpz, &mpz);
1.9 + check_length_with_cmp (6, mpz, 17, mpz_cmp_ui (mpz, 17), Zi);
1.10 + check_vfprintf (fout, "%% a. %#.0RNg, b. %Qx%Rn, c. %p", mpfr, mpq, &mpfr,
1.11 +- &i);
1.12 ++ (void *) &i);
1.13 + check_length_with_cmp (7, mpfr, 16, mpfr_cmp_ui (mpfr, 16), Rg);
1.14 +
1.15 + #ifndef NPRINTF_T
1.16 +diff -Naurd mpfr-2.4.1-a/tests/tprintf.c mpfr-2.4.1-b/tests/tprintf.c
1.17 +--- mpfr-2.4.1-a/tests/tprintf.c 2009-02-20 09:43:15.000000000 +0000
1.18 ++++ mpfr-2.4.1-b/tests/tprintf.c 2009-03-10 01:12:45.000000000 +0000
1.19 +@@ -191,7 +191,8 @@
1.20 + check_length (5, sz, 34, zu);
1.21 + check_vprintf ("a. %Pu, b. %c, c. %RUG, d. %Zi%Zn", prec, ch, mpfr, mpz, &mpz);
1.22 + check_length_with_cmp (6, mpz, 24, mpz_cmp_ui (mpz, 24), Zi);
1.23 +- check_vprintf ("%% a. %#.0RNg, b. %Qx%Rn c. %p", mpfr, mpq, &mpfr, &i);
1.24 ++ check_vprintf ("%% a. %#.0RNg, b. %Qx%Rn c. %p",
1.25 ++ mpfr, mpq, &mpfr, (void *) &i);
1.26 + check_length_with_cmp (7, mpfr, 16, mpfr_cmp_ui (mpfr, 16), Rg);
1.27 +
1.28 + #ifndef NPRINTF_T