Browse Source

Fix signed/unsigned comparison warning introduced in c8e29d7ff0.

0.15
Matt Corallo 7 years ago
parent
commit
1016dacfac
  1. 2
      src/core_read.cpp

2
src/core_read.cpp

@ -27,7 +27,7 @@ CScript ParseScript(const std::string& s)
if (mapOpNames.empty()) 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 // Allow OP_RESERVED to get into mapOpNames
if (op < OP_NOP && op != OP_RESERVED) if (op < OP_NOP && op != OP_RESERVED)

Loading…
Cancel
Save