mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Cast for Windows
This commit is contained in:
@@ -4103,7 +4103,7 @@ int mp_sub_d (mp_int * a, mp_digit b, mp_int * c)
|
|||||||
/* subtract first digit */
|
/* subtract first digit */
|
||||||
*tmpc = *tmpa - b;
|
*tmpc = *tmpa - b;
|
||||||
if (b > *tmpa++)
|
if (b > *tmpa++)
|
||||||
mu = ((-*tmpc) >> DIGIT_BIT) + 1;
|
mu = (mp_digit)(((-*tmpc) >> DIGIT_BIT) + 1);
|
||||||
else
|
else
|
||||||
mu = *tmpc >> DIGIT_BIT;
|
mu = *tmpc >> DIGIT_BIT;
|
||||||
*tmpc++ &= MP_MASK;
|
*tmpc++ &= MP_MASK;
|
||||||
|
Reference in New Issue
Block a user