summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mul.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-05-28 10:34:29 +0000
committerRichard Levitte <levitte@openssl.org>2003-05-28 10:34:29 +0000
commitf5f7dffdd11389a58aa18ff00ae9de0189d307de (patch)
tree85c38d9988c4d8d9c12a22158c63837d1850a896 /crypto/bn/bn_mul.c
parentedd55d08f5e018e04a24fba7723aec8619a3c581 (diff)
Make sure to compare unsigned against unsigned.
Diffstat (limited to 'crypto/bn/bn_mul.c')
-rw-r--r--crypto/bn/bn_mul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c
index 4c413b3a52..6b633b90b0 100644
--- a/crypto/bn/bn_mul.c
+++ b/crypto/bn/bn_mul.c
@@ -706,7 +706,7 @@ void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
/* The overflow will stop before we over write
* words we should not overwrite */
- if (ln < c1)
+ if (ln < (BN_ULONG)c1)
{
do {
p++;