summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_div.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-09-29 22:11:06 +0000
committerUlf Möller <ulf@openssl.org>1999-09-29 22:11:06 +0000
commit8e1589ece5df95a058329b170f3e6eaae8c71416 (patch)
treebf67770930ad0a4739ce264e2e9edd2c8a5a508e /crypto/bn/bn_div.c
parent49e747e6700292b6e877569318e2742c5788ace6 (diff)
VC++ warning.
Diffstat (limited to 'crypto/bn/bn_div.c')
-rw-r--r--crypto/bn/bn_div.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c
index 6dd5d99ec4..830da87f58 100644
--- a/crypto/bn/bn_div.c
+++ b/crypto/bn/bn_div.c
@@ -238,7 +238,7 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
q=BN_MASK2;
else
#if defined(BN_LLONG) && defined(BN_DIV2W) && !defined(bn_div_words)
- q=((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0;
+ q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0);
#else
q=bn_div_words(n0,n1,d0);
#endif