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

This commit is contained in:
Patrick Strateman committed 2016-04-19 13:22:20 -07:00
1 parent ec9ad5f199
commit c0f660c3a3
1 file changed
+1 -1
+1 -1
View File
@@ -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;