diff options
| author | Jeff Garzik <[email protected]> | 2012-04-23 21:33:29 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-23 21:33:29 -0700 |
| commit | c2e8c8acd8ae0c94c70b59f55169841ad195bb99 (patch) | |
| tree | 13709f29a89f926f873c1e8eddc76ca22601aa5d /src/protocol.cpp | |
| parent | Merge pull request #1133 from sipa/abspath (diff) | |
| parent | Change signed->unsigned at 3 code sites (diff) | |
| download | discoin-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.cpp | 2 |
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 |