diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-09-14 15:45:40 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-09-14 15:45:40 +0200 |
commit | a8ea8f8f9f1e4f5a2ec73267dfa5bb281ed6043e (patch) | |
tree | 07fbc6a87ed8a39a71e76ddddac76858579c55a8 /tests/misc.c | |
parent | 3eb4fa11e07f63d5ea38a1223bbc2bfe81cb13bb (diff) | |
download | gmp-a8ea8f8f9f1e4f5a2ec73267dfa5bb281ed6043e.tar.gz |
Initial mingw64 support.
Diffstat (limited to 'tests/misc.c')
-rw-r--r-- | tests/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc.c b/tests/misc.c index 19c657c7f..dbbbe7ff8 100644 --- a/tests/misc.c +++ b/tests/misc.c @@ -132,8 +132,8 @@ mp_limb_t (*calling_conventions_function) __GMP_PROTO ((ANYARGS)); void * align_pointer (void *p, size_t align) { - unsigned long d; - d = ((unsigned long) p) & (align-1); + gmp_intptr_t d; + d = ((gmp_intptr_t) p) & (align-1); d = (d != 0 ? align-d : 0); return (void *) (((char *) p) + d); } |