commit | 3d2b769d1c9cef2fef7b9dbb04c00928123e5bb9 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Tue Oct 29 15:08:46 2019 +0000 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Mar 13 15:25:40 2020 +0000 |
tree | 928041c1f0d5519cccff12094b42cc5e9983a715 | |
parent | 44e40c079262b650c2700ae583f7d2868e41fc93 [diff] [blame] |
ct_lt_mpi_uint: cast the return value explicitely The return value is always either one or zero and therefore there is no risk of losing precision. Some compilers can't deduce this and complain.
diff --git a/library/bignum.c b/library/bignum.c index 5c94e99..3ea33f4 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1103,7 +1103,7 @@ ret = ret >> ( biL - 1 ); - return ret; + return (unsigned) ret; } /*