Skip to content

Commit

Permalink
Fix script.cpp for Apple LLVM version 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BreakoutCoin committed Aug 15, 2018
1 parent 5d0ed38 commit 6044a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script.cpp
Expand Up @@ -695,7 +695,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
case OP_DEPTH:
{
// -- stacksize
CBigNum bn(stack.size());
CBigNum bn((uint64_t) stack.size());
stack.push_back(bn.getvch());
}
break;
Expand Down Expand Up @@ -851,7 +851,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
// (in -- in size)
if (stack.size() < 1)
return false;
CBigNum bn(stacktop(-1).size());
CBigNum bn((uint64_t) stacktop(-1).size());
stack.push_back(bn.getvch());
}
break;
Expand Down

0 comments on commit 6044a6e

Please sign in to comment.