bn_lib.c: [re-]fix Win64 compiler warning.

This commit is contained in:
Andy Polyakov 2008-12-29 12:44:33 +00:00
parent 5cabcf96e7
commit a68c7b9171

View File

@ -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)