Browse Source

Replace c-style cast with c++ style static_cast.

0.13
Patrick Strateman 9 years ago
parent
commit
c0f660c3a3
  1. 2
      src/script/script.h

2
src/script/script.h

@ -574,7 +574,7 @@ public: @@ -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…
Cancel
Save