[Gmp-commit] /var/hg/gmp: mpz/cfdiv_r_2exp.c: Amend last change.

mercurial at gmplib.org mercurial at gmplib.org
Tue Sep 29 20:56:50 UTC 2015


details:   /var/hg/gmp/rev/6fb6c1ed4e94
changeset: 16836:6fb6c1ed4e94
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Tue Sep 29 22:56:46 2015 +0200
description:
mpz/cfdiv_r_2exp.c: Amend last change.

diffstat:

 mpz/cfdiv_r_2exp.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 290669009166 -r 6fb6c1ed4e94 mpz/cfdiv_r_2exp.c
--- a/mpz/cfdiv_r_2exp.c	Tue Sep 29 21:25:12 2015 +0200
+++ b/mpz/cfdiv_r_2exp.c	Tue Sep 29 22:56:46 2015 +0200
@@ -73,7 +73,7 @@
 	  /* if already smaller than limb_cnt then do nothing */
 	  if (abs_usize <= limb_cnt)
 	    return;
-	  wp = up;
+	  wp = (mp_ptr) up;
 	}
       else
 	{


More information about the gmp-commit mailing list