Replace c-style cast with c++ style static_cast.
This commit is contained in:
committed by
lateminer
parent
64f04a5405
commit
e9acefb94b
@@ -590,7 +590,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;
|
||||
|
||||
Reference in New Issue
Block a user