From a68c7b9171df3814b111eb467ef308617ea05463 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 29 Dec 2008 12:44:33 +0000 Subject: [PATCH] bn_lib.c: [re-]fix Win64 compiler warning. --- crypto/bn/bn_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index 2564c332b3..5470fbe6ef 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -763,7 +763,7 @@ int BN_is_bit_set(const BIGNUM *a, int n) i=n/BN_BITS2; j=n%BN_BITS2; if (a->top <= i) return 0; - return(((a->d[i])>>j)&((BN_ULONG)1)==1); + return (int)(((a->d[i])>>j)&((BN_ULONG)1)); } int BN_mask_bits(BIGNUM *a, int n) -- 2.25.1