aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.h b/src/script/script.h
index 7aaa10b60b..dd2ab2f070 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -433,7 +433,7 @@ public:
return ret;
}
- CScript(int64_t b) { operator<<(b); }
+ explicit CScript(int64_t b) { operator<<(b); }
explicit CScript(opcodetype b) { operator<<(b); }
explicit CScript(const CScriptNum& b) { operator<<(b); }