From: Andy Polyakov Date: Mon, 29 Dec 2008 12:44:33 +0000 (+0000) Subject: bn_lib.c: [re-]fix Win64 compiler warning. X-Git-Tag: OpenSSL_0_9_8k^2~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a68c7b9171df3814b111eb467ef308617ea05463;p=oweals%2Fopenssl.git bn_lib.c: [re-]fix Win64 compiler warning. --- 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)