From d8ab67c67efcc7c10b635109eafc207667de039c Mon Sep 17 00:00:00 2001 From: vlefevre Date: Fri, 29 Apr 2011 11:33:48 +0000 Subject: [tests/trint.c] Removed a useless pointer cast (in general, such casts are either useless or incorrect, as breaking aliasing rules). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7640 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/trint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/trint.c') diff --git a/tests/trint.c b/tests/trint.c index b8c75b2e6..24339dfaf 100644 --- a/tests/trint.c +++ b/tests/trint.c @@ -271,7 +271,7 @@ coverage_03032011 (void) strcpy (&strData[GMP_NUMB_BITS+1], &strData[precIn+1]); mpfr_set_str_binary (cmp, strData); - ((mp_limb_t *)MPFR_MANT(in))[2] = MPFR_LIMB_HIGHBIT; + (MPFR_MANT(in))[2] = MPFR_LIMB_HIGHBIT; status = mpfr_rint (out, in, MPFR_RNDN); if ((mpfr_cmp (out, cmp) != 0) || (status <= 0)) -- cgit v1.2.1