summaryrefslogtreecommitdiff
path: root/mpz/import.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-06-25 03:16:51 +0200
committerKevin Ryde <user42@zip.com.au>2002-06-25 03:16:51 +0200
commit95c6a6d3f6d0fa81f2e8a06551c98bac3fd0f95f (patch)
tree33bf0b8a61dcca0f330d8d5539a24abcf400635b /mpz/import.c
parentb28702751072cfaf67a290daa7dc5aa04cb39caa (diff)
downloadgmp-95c6a6d3f6d0fa81f2e8a06551c98bac3fd0f95f.tar.gz
Correction to:
* mpz/import.c, mpz/export.c: Cast data pointer through "char *" in alignment tests, for the benefit of Cray vector systems.
Diffstat (limited to 'mpz/import.c')
-rw-r--r--mpz/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/import.c b/mpz/import.c
index 28002e71c..aedd2dad4 100644
--- a/mpz/import.c
+++ b/mpz/import.c
@@ -58,7 +58,7 @@ mpz_import (mpz_ptr z, size_t count, int order,
mask out the nail bits in the input data. */
if (nail == 0 && GMP_NAIL_BITS == 0)
{
- unsigned align = ((unsigned long) (char *) data) data % sizeof (mp_limb_t);
+ unsigned align = ((unsigned long) (char *) data) % sizeof (mp_limb_t);
if (order == -1
&& size == sizeof (mp_limb_t)