From fb5b7317a7e73c18a057995e3e008f95eab99e1b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 28 May 2003 10:34:04 +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 4487a77b34..3ae3822bc2 100644 --- a/crypto/bn/bn_mul.c +++ b/crypto/bn/bn_mul.c @@ -376,7 +376,7 @@ void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int tn, /* The overflow will stop before we over write * words we should not overwrite */ - if (ln < c1) + if (ln < (BN_ULONG)c1) { do { p++; -- 2.50.1