diff options
author | Richard Levitte <levitte@openssl.org> | 2003-05-28 10:34:29 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-05-28 10:34:29 +0000 |
commit | f5f7dffdd11389a58aa18ff00ae9de0189d307de (patch) | |
tree | 85c38d9988c4d8d9c12a22158c63837d1850a896 | |
parent | edd55d08f5e018e04a24fba7723aec8619a3c581 (diff) |
Make sure to compare unsigned against unsigned.
-rw-r--r-- | crypto/bn/bn_mul.c | 2 |
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++; |