From f5f7dffdd11389a58aa18ff00ae9de0189d307de Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 28 May 2003 10:34:29 +0000 Subject: [PATCH] Make sure to compare unsigned against unsigned. --- crypto/bn/bn_mul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.25.1