diff options
Diffstat (limited to 'mpf')
-rw-r--r-- | mpf/clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/clear.c b/mpf/clear.c index e38ff8aee..cfb8482c2 100644 --- a/mpf/clear.c +++ b/mpf/clear.c @@ -24,5 +24,5 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */ void mpf_clear (mpf_ptr m) { - (*__gmp_free_func) (m->_mp_d, (m->_mp_prec + 1) * BYTES_PER_MP_LIMB); + (*__gmp_free_func) (m->_mp_d, (size_t) (m->_mp_prec + 1) * BYTES_PER_MP_LIMB); } |