mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Replace c-style cast with c++ style static_cast.
This commit is contained in:
parent
ec9ad5f199
commit
c0f660c3a3
@ -574,7 +574,7 @@ public:
|
||||
opcodetype opcode;
|
||||
do
|
||||
{
|
||||
while (end() - pc >= (long)b.size() && std::equal(b.begin(), b.end(), pc))
|
||||
while (static_cast<size_t>(end() - pc) >= b.size() && std::equal(b.begin(), b.end(), pc))
|
||||
{
|
||||
pc = erase(pc, pc + b.size());
|
||||
++nFound;
|
||||
|
Loading…
Reference in New Issue
Block a user