X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_mont.c;h=a5640b5a3b5b9a63bc83b5bf43e4191e7d578a54;hp=e0aa3c769d227dc5f58e9052627b6edb070819d4;hb=651d0aff98d28e2db146afa1790e9e22f3ef22db;hpb=31b8d8684441e6cd5138832bb1b2ddb10acd6ba6 diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index e0aa3c769d..a5640b5a3b 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c @@ -235,7 +235,7 @@ printf("number BN_from_montgomery\n"); /* hmm... if a is between i and 2*i, things are bad */ if (a->top > i) { - j=bn_add_words(ret->d,ret->d,&(a->d[i]),i); + j=(int)(bn_add_words(ret->d,ret->d,&(a->d[i]),i)); if (j) /* overflow */ bn_sub_words(ret->d,ret->d,mont->N.d,i); }