diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-03-24 01:37:39 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-03-24 01:37:39 +0100 |
commit | 84cb787667ead0e37fd22420b7e9551a3eeb8fd9 (patch) | |
tree | d1b28163a6d96605eb070182c07c4b5b75b0e6d4 /mpz/out_raw.c | |
parent | 8b570d1a39362b3464d3a96b38db6034aff54867 (diff) | |
download | gmp-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/out_raw.c')
-rw-r--r-- | mpz/out_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/out_raw.c b/mpz/out_raw.c index 5efd3085d..b3895e57b 100644 --- a/mpz/out_raw.c +++ b/mpz/out_raw.c @@ -36,7 +36,7 @@ MA 02111-1307, USA. */ separate byte stores, so if we know the host is little endian then instead use a purely arithmetic BSWAP_LIMB and a single store. */ #if HAVE_LIMB_LITTLE_ENDIAN -#define HTON_LIMB_STORE(dst, limb) BSWAP_LIMB (*dst, limb) +#define HTON_LIMB_STORE(dst, limb) BSWAP_LIMB_STORE (dst, limb) #endif #if ! defined (HTON_LIMB_STORE) |