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/test/DoS_tests.cpp | |
parent | faf705a42a05197d89abfc31672ced94d268767f (diff) |
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 c0b00102a0..e5a8b4f68b 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; |