summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-10-24 21:16:57 +0200
committerKevin Ryde <user42@zip.com.au>2003-10-24 21:16:57 +0200
commit2c8baa7c8e703aa9254dca9f40d5deaac228110c (patch)
treee8aa9a6c990f5693963a4de2b7faf57c53f494ed /gmp-h.in
parent2132114c38d889ad058ff1eda2fbc8d22f28b150 (diff)
downloadgmp-2c8baa7c8e703aa9254dca9f40d5deaac228110c.tar.gz
* gmp-h.in (mpn_divmod_1): Use __GMP_CAST, to avoid warnings in
applications using g++ -Wold-style-cast.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 7f34c0bfa..dafda7850 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -1475,7 +1475,7 @@ __GMP_DECLSPEC int mpn_cmp __GMP_PROTO ((mp_srcptr, mp_srcptr, mp_size_t)) __GMP
__GMP_DECLSPEC mp_limb_t mpn_divexact_by3c __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t));
#define mpn_divmod_1(qp,np,nsize,dlimb) \
- mpn_divrem_1 (qp, (mp_size_t) 0, np, nsize, dlimb)
+ mpn_divrem_1 (qp, __GMP_CAST (mp_size_t, 0), np, nsize, dlimb)
#define mpn_divrem __MPN(divrem)
__GMP_DECLSPEC mp_limb_t mpn_divrem __GMP_PROTO ((mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr, mp_size_t));