diff options
author | Andy Moreton <andrewjmoreton@gmail.com> | 2018-08-09 13:19:15 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-08-09 13:28:37 -0600 |
commit | f966753727741883c5d81a288ce5c20cebe3bad0 (patch) | |
tree | 04e6938f57638b1f27fbca44afb58b12297de3f4 /src | |
parent | d0b279a50518ce61277cfd274349da8fcc0b0609 (diff) | |
download | emacs-f966753727741883c5d81a288ce5c20cebe3bad0.tar.gz |
Do not use GMP_NUMB_BITS
* src/alloc.c (make_number): Use mp_bits_per_limb, not GMP_NUMB_BITS.
Diffstat (limited to 'src')
-rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 1504d7912b3..a8bc55beb40 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -3830,7 +3830,7 @@ make_number (mpz_t value) for (i = 0; i < limbs; i++) { mp_limb_t limb = mpz_getlimbn (value, i); - v |= (EMACS_INT) ((EMACS_UINT) limb << (i * GMP_NUMB_BITS)); + v |= (EMACS_INT) ((EMACS_UINT) limb << (i * mp_bits_per_limb)); } if (sign < 0) v = -v; |