summaryrefslogtreecommitdiff
path: root/mpz/inp_raw.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-03-24 01:37:39 +0100
committerKevin Ryde <user42@zip.com.au>2002-03-24 01:37:39 +0100
commit84cb787667ead0e37fd22420b7e9551a3eeb8fd9 (patch)
treed1b28163a6d96605eb070182c07c4b5b75b0e6d4 /mpz/inp_raw.c
parent8b570d1a39362b3464d3a96b38db6034aff54867 (diff)
downloadgmp-84cb787667ead0e37fd22420b7e9551a3eeb8fd9.tar.gz
* gmp-impl.h (BSWAP_LIMB_FETCH, BSWAP_LIMB_STORE): New macros.
* mpz/inp_raw.c, mpz/out_raw.c: Use them.
Diffstat (limited to 'mpz/inp_raw.c')
-rw-r--r--mpz/inp_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/inp_raw.c b/mpz/inp_raw.c
index 1f455c802..5db1202d7 100644
--- a/mpz/inp_raw.c
+++ b/mpz/inp_raw.c
@@ -35,7 +35,7 @@ MA 02111-1307, USA. */
separate byte fetches, so if we know the host is little endian then
instead use a single load and a purely arithmetic BSWAP_LIMB. */
#if HAVE_LIMB_LITTLE_ENDIAN
-#define NTOH_LIMB_FETCH(limb, src) BSWAP_LIMB (limb, *(src))
+#define NTOH_LIMB_FETCH(limb, src) BSWAP_LIMB_FETCH (limb, src)
#endif
#if ! defined (NTOH_LIMB_FETCH)