diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-05-06 19:10:34 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-05-06 19:10:34 +0200 |
commit | 3b890ede1b2cb78aa4e0ce3b420789ccc5dcacee (patch) | |
tree | b352e5a35603b419fc354a1bac585aa1e49fbc51 /mpf | |
parent | fe147d8a90909900ba81b339884a33955dc24cab (diff) | |
download | gmp-3b890ede1b2cb78aa4e0ce3b420789ccc5dcacee.tar.gz |
Use NEG_CAST
Diffstat (limited to 'mpf')
-rw-r--r-- | mpf/fits_s.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/fits_s.h b/mpf/fits_s.h index f0d6f9ee7..80e74befd 100644 --- a/mpf/fits_s.h +++ b/mpf/fits_s.h @@ -67,5 +67,5 @@ FUNCTION (mpf_srcptr f) __GMP_NOTHROW else return 0; - return fl <= (fs >= 0 ? (mp_limb_t) MAXIMUM : - (mp_limb_t) MINIMUM); + return fl <= (fs >= 0 ? (mp_limb_t) MAXIMUM : NEG_CAST (mp_limb_t, MINIMUM)); } |