From 402bbe03214ef39ed94ae09070d2279be01bb129 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 20 Jan 2015 13:44:35 -0700 Subject: [PATCH] 32 bit implicit cast --- wolfcrypt/src/integer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/integer.c b/wolfcrypt/src/integer.c index 06cc7344d..e3c00444b 100644 --- a/wolfcrypt/src/integer.c +++ b/wolfcrypt/src/integer.c @@ -2697,7 +2697,7 @@ mp_div_3 (mp_int * a, mp_int *c, mp_digit * d) int res, ix; /* 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) { return res;