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

This commit is contained in:
Patrick Strateman 2016-04-19 13:13:46 -07:00 committed by shaolinfry
parent 8c95901609
commit 2bcf063b1d

View File

@ -549,7 +549,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;