summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-12-29 12:44:33 +0000
committerAndy Polyakov <appro@openssl.org>2008-12-29 12:44:33 +0000
commita68c7b9171df3814b111eb467ef308617ea05463 (patch)
tree45be4c58007a35ad7d97b1825afb258aded7fc42 /crypto/bn/bn_lib.c
parent5cabcf96e77bcf6d23bfb3ec32c9ea37100578c6 (diff)
bn_lib.c: [re-]fix Win64 compiler warning.
Diffstat (limited to 'crypto/bn/bn_lib.c')
-rw-r--r--crypto/bn/bn_lib.c2
1 files changed, 1 insertions, 1 deletions
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)