compile on windows

This commit is contained in:
jed
2012-07-14 08:41:05 -07:00
parent d3e1b98fe8
commit 13a68da567
10 changed files with 16 additions and 10 deletions

View File

@@ -194,7 +194,7 @@ public:
uint256 getuint256()
{
uint256 ret;
int size = BN_num_bytes(this);
unsigned int size = BN_num_bytes(this);
if (size > ret.size())
return ret;
BN_bn2bin(this, ret.begin() + (ret.size() - BN_num_bytes(this)));