Fix signed/unsigned comparison warning introduced in c8e29d7ff0.

pull/384/head
Matt Corallo 7 years ago
parent e8b95239ee
commit 1016dacfac

@ -27,7 +27,7 @@ CScript ParseScript(const std::string& s)
if (mapOpNames.empty())
{
for (int op = 0; op <= MAX_OPCODE; op++)
for (unsigned int op = 0; op <= MAX_OPCODE; op++)
{
// Allow OP_RESERVED to get into mapOpNames
if (op < OP_NOP && op != OP_RESERVED)

Loading…
Cancel
Save