aboutsummaryrefslogtreecommitdiff
path: root/src/core_read.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-07-12 14:03:42 -0400
committerMatt Corallo <git@bluematt.me>2017-07-12 14:03:42 -0400
commit1016dacfaca5014c6af377ca787c36cf5dea88e8 (patch)
tree3f564440c9b85354eac210cbe1313d1b8775103b /src/core_read.cpp
parente8b95239eeb052b122786d9cca6bc58106837599 (diff)
downloadbitcoin-1016dacfaca5014c6af377ca787c36cf5dea88e8.tar.xz
Fix signed/unsigned comparison warning introduced in c8e29d7ff0.
Diffstat (limited to 'src/core_read.cpp')
-rw-r--r--src/core_read.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_read.cpp b/src/core_read.cpp
index 18d02fb913..7018131a13 100644
--- a/src/core_read.cpp
+++ b/src/core_read.cpp
@@ -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)