Replace c-style cast with c++ style static_cast.
This commit is contained in:
parent
8c95901609
commit
2bcf063b1d
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user