diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2011-10-27 15:58:27 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2011-10-27 15:58:27 +0200 |
commit | d52d2e17562e9d680114dab51f5c98753a8b8dc4 (patch) | |
tree | 8a6ca653ebc804cad4de60ac3ba08f29c269eae2 | |
parent | 01e191179bf1180f71cb50d3398f0086a15171b7 (diff) | |
download | gmp-d52d2e17562e9d680114dab51f5c98753a8b8dc4.tar.gz |
(BSWAP_LIMB): Rename variable to avoid BSWAP_LIMB_FETCH clash.
-rw-r--r-- | gmp-impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 2ca702a12..e918c31ed 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -3303,14 +3303,14 @@ __GMP_DECLSPEC extern const unsigned char binvert_limb_table[128]; #define BSWAP_LIMB(dst, src) \ do { \ mp_limb_t __bswapl_src = (src); \ - mp_limb_t __dst = 0; \ + mp_limb_t __dstl = 0; \ int __i; \ for (__i = 0; __i < BYTES_PER_MP_LIMB; __i++) \ { \ - __dst = (__dst << 8) | (__bswapl_src & 0xFF); \ + __dstl = (__dstl << 8) | (__bswapl_src & 0xFF); \ __bswapl_src >>= 8; \ } \ - (dst) = __dst; \ + (dst) = __dstl; \ } while (0) #endif |