diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-10-24 21:16:57 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-10-24 21:16:57 +0200 |
commit | 2c8baa7c8e703aa9254dca9f40d5deaac228110c (patch) | |
tree | e8aa9a6c990f5693963a4de2b7faf57c53f494ed /gmp-h.in | |
parent | 2132114c38d889ad058ff1eda2fbc8d22f28b150 (diff) | |
download | gmp-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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |