mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:15:37 +01:00
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.
This commit is contained in:
parent
798e394943
commit
359a01e07c
@ -1103,7 +1103,7 @@ static unsigned ct_lt_mpi_uint( const mbedtls_mpi_uint x,
|
||||
|
||||
ret = ret >> ( biL - 1 );
|
||||
|
||||
return ret;
|
||||
return (unsigned) ret;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user