commit | 67ce647ff0780f7c5d90d74d22f27fff62d6c3fd | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Tue Oct 29 15:08:46 2019 +0000 |
committer | Janos Follath <janos.follath@arm.com> | Mon Nov 04 10:39:20 2019 +0000 |
tree | a43c404ec0103ad0ca61b697c3249c0acbfb0881 | |
parent | f17c8006ae56a9f8540d146aa3e4a5571bc63c1f [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 441e4b5..cdda688 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1180,7 +1180,7 @@ ret = ret >> ( biL - 1 ); - return ret; + return (unsigned) ret; } /*