commit | 359a01e07c6d963aa868b330c248671feb9aa484 | [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 11 12:32:12 2019 +0000 |
tree | 54d2bdf4d4add6f2cb6aa5d6344d09946d9775b9 | |
parent | 798e394943b7dd8e47e05a253956a429e1ed18d1 [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 6a72597..7025089 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1103,7 +1103,7 @@ ret = ret >> ( biL - 1 ); - return ret; + return (unsigned) ret; } /*