Browse Source

Fix signed/unsigned comparison warning introduced in c8e29d7ff0.

tags/v0.15.1
Matt Corallo 3 years ago
parent
commit
1016dacfac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/core_read.cpp

+ 1
- 1
src/core_read.cpp 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)

Loading…
Cancel
Save