aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-07-31 14:06:44 +1000
committerGavin Andresen <gavinandresen@gmail.com>2013-07-31 14:06:44 +1000
commit050d2e953f23db6d818b9cec6b7dc0e52aa7537c (patch)
tree2647f444088b18845088a5fac3a6fdabe656eeba /src/script.cpp
parentc4316fefa5f56d62eeceb710ee18313bd9be1128 (diff)
Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused problems for Qt.
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 14fe80e207..5699fbfb6a 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -1163,7 +1163,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
// Compare
CScript::const_iterator pc1 = script1.begin();
CScript::const_iterator pc2 = script2.begin();
- loop
+ while (true)
{
if (pc1 == script1.end() && pc2 == script2.end())
{