diff options
author | Jeff Garzik <jeff@garzik.org> | 2012-04-23 14:14:03 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-23 14:14:03 -0400 |
commit | 7bd9c3a3cf408175019f85ec33cfd4364e5f5d32 (patch) | |
tree | 9e05718e234582ad68ff0561717cbd115ea094d5 /src/script.h | |
parent | faf705a42a05197d89abfc31672ced94d268767f (diff) |
SigOp and orphan-tx constants and counts are always unsigned.
Fixes several sign-comparison warnings.
Diffstat (limited to 'src/script.h')
-rw-r--r-- | src/script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.h b/src/script.h index b13734be41..52922af16f 100644 --- a/src/script.h +++ b/src/script.h @@ -491,11 +491,11 @@ public: // CHECKMULTISIGs serialized in scriptSigs are // counted more accurately, assuming they are of the form // ... OP_N CHECKMULTISIG ... - int GetSigOpCount(bool fAccurate) const; + unsigned int GetSigOpCount(bool fAccurate) const; // Accurately count sigOps, including sigOps in // pay-to-script-hash transactions: - int GetSigOpCount(const CScript& scriptSig) const; + unsigned int GetSigOpCount(const CScript& scriptSig) const; bool IsPayToScriptHash() const; |