From 44b0279dbf3a01fbbf2addb1b52ff1eb27bd04e2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Mar 2022 08:39:33 -0700 Subject: [PATCH] autoupdate --- lib/mini-gmp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/mini-gmp.c b/lib/mini-gmp.c index e7a320a642..2b1ddee079 100644 --- a/lib/mini-gmp.c +++ b/lib/mini-gmp.c @@ -10,7 +10,7 @@ The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free - Software Foundation, either version 3 of the License, or (at your + Software Foundation; either version 3 of the License, or (at your option) any later version. or @@ -1937,9 +1937,8 @@ mpz_neg (mpz_t r, const mpz_t u) void mpz_swap (mpz_t u, mpz_t v) { - MP_SIZE_T_SWAP (u->_mp_size, v->_mp_size); MP_SIZE_T_SWAP (u->_mp_alloc, v->_mp_alloc); - MP_PTR_SWAP (u->_mp_d, v->_mp_d); + MPN_PTR_SWAP (u->_mp_d, u->_mp_size, v->_mp_d, v->_mp_size); } -- 2.39.5