Replace c-style cast with c++ style static_cast.
This commit is contained in:
parent
ec9ad5f199
commit
c0f660c3a3
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ public:
|
||||||
opcodetype opcode;
|
opcodetype opcode;
|
||||||
do
|
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());
|
pc = erase(pc, pc + b.size());
|
||||||
++nFound;
|
++nFound;
|
||||||
|
|
Loading…
Reference in a new issue