forked from wolfSSL/wolfssl
32 bit implicit cast
This commit is contained in:
@ -2697,7 +2697,7 @@ mp_div_3 (mp_int * a, mp_int *c, mp_digit * d)
|
|||||||
int res, ix;
|
int res, ix;
|
||||||
|
|
||||||
/* b = 2**DIGIT_BIT / 3 */
|
/* b = 2**DIGIT_BIT / 3 */
|
||||||
b = (((mp_word)1) << ((mp_word)DIGIT_BIT)) / ((mp_word)3);
|
b = (mp_digit) ( (((mp_word)1) << ((mp_word)DIGIT_BIT)) / ((mp_word)3) );
|
||||||
|
|
||||||
if ((res = mp_init_size(&q, a->used)) != MP_OKAY) {
|
if ((res = mp_init_size(&q, a->used)) != MP_OKAY) {
|
||||||
return res;
|
return res;
|
||||||
|
Reference in New Issue
Block a user