projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cabcf9
)
bn_lib.c: [re-]fix Win64 compiler warning.
author
Andy Polyakov
<appro@openssl.org>
Mon, 29 Dec 2008 12:44:33 +0000
(12:44 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 29 Dec 2008 12:44:33 +0000
(12:44 +0000)
crypto/bn/bn_lib.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_lib.c
b/crypto/bn/bn_lib.c
index 2564c332b376cdde4b486e3f2a95c12918bdcc0f..5470fbe6ef374721ef58c1fb801ef34f7a3e7f8f 100644
(file)
--- 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)