diff options
| author | Jeff Garzik <[email protected]> | 2012-04-23 14:14:03 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-23 14:14:03 -0400 |
| commit | 7bd9c3a3cf408175019f85ec33cfd4364e5f5d32 (patch) | |
| tree | 9e05718e234582ad68ff0561717cbd115ea094d5 /src/test/DoS_tests.cpp | |
| parent | Prefer 'unsigned int' for loop index variables tested against ::size() (diff) | |
| download | discoin-7bd9c3a3cf408175019f85ec33cfd4364e5f5d32.tar.xz discoin-7bd9c3a3cf408175019f85ec33cfd4364e5f5d32.zip | |
SigOp and orphan-tx constants and counts are always unsigned.
Fixes several sign-comparison warnings.
Diffstat (limited to 'src/test/DoS_tests.cpp')
| -rw-r--r-- | src/test/DoS_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp index c0b00102a..e5a8b4f68 100644 --- a/src/test/DoS_tests.cpp +++ b/src/test/DoS_tests.cpp @@ -14,7 +14,7 @@ // Tests this internal-to-main.cpp method: extern void AddOrphanTx(const CDataStream& vMsg); -extern int LimitOrphanTxSize(int nMaxOrphans); +extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans); extern std::map<uint256, CDataStream*> mapOrphanTransactions; extern std::multimap<uint256, CDataStream*> mapOrphanTransactionsByPrev; |