Fix signed/unsigned comparison warning introduced in c8e29d7ff0.

This commit is contained in:
Matt Corallo 2017-07-12 14:03:42 -04:00
parent e8b95239ee
commit 1016dacfac

View File

@ -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)