aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-04-23 21:33:29 -0700
committerJeff Garzik <[email protected]>2012-04-23 21:33:29 -0700
commitc2e8c8acd8ae0c94c70b59f55169841ad195bb99 (patch)
tree13709f29a89f926f873c1e8eddc76ca22601aa5d /src/protocol.cpp
parentMerge pull request #1133 from sipa/abspath (diff)
parentChange signed->unsigned at 3 code sites (diff)
downloaddiscoin-c2e8c8acd8ae0c94c70b59f55169841ad195bb99.tar.xz
discoin-c2e8c8acd8ae0c94c70b59f55169841ad195bb99.zip
Merge pull request #1140 from jgarzik/sign-compare
Address many more sign comparison warnings
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 06306cf8e..fda31966f 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -128,7 +128,7 @@ bool operator<(const CInv& a, const CInv& b)
bool CInv::IsKnownType() const
{
- return (type >= 1 && type < ARRAYLEN(ppszTypeName));
+ return (type >= 1 && type < (int)ARRAYLEN(ppszTypeName));
}
const char* CInv::GetCommand() const