From: Richard Levitte Date: Wed, 28 May 2003 10:34:04 +0000 (+0000) Subject: Make sure to compare unsigned against unsigned. X-Git-Tag: OpenSSL_0_9_7c~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb5b7317a7e73c18a057995e3e008f95eab99e1b;p=openssl Make sure to compare unsigned against unsigned. --- 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++;