SigOp and orphan-tx constants and counts are always unsigned.

Fixes several sign-comparison warnings.
This commit is contained in:
Jeff Garzik
2012-04-23 14:14:03 -04:00
committed by Jeff Garzik
parent faf705a42a
commit 7bd9c3a3cf
5 changed files with 23 additions and 23 deletions

View File

@@ -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;