aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-04-17 10:55:56 -0700
committerGavin Andresen <[email protected]>2012-04-17 10:55:56 -0700
commitb97d54355e8239273b50c54dbedfde16ed82fd73 (patch)
tree7c605817ec5a41b86b5656916eaa014e13fb247f /src/protocol.cpp
parentMerge pull request #1115 from laanwj/2012_04_cleanupmisc (diff)
parentFix misc. minor sign-comparison warnings (diff)
downloaddiscoin-b97d54355e8239273b50c54dbedfde16ed82fd73.tar.xz
discoin-b97d54355e8239273b50c54dbedfde16ed82fd73.zip
Merge pull request #1106 from jgarzik/sign-compare
Fix many sign-comparison warnings found in bitcoin codebase
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 15fbf9fc0..06306cf8e 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -107,7 +107,7 @@ CInv::CInv(int typeIn, const uint256& hashIn)
CInv::CInv(const std::string& strType, const uint256& hashIn)
{
- int i;
+ unsigned int i;
for (i = 1; i < ARRAYLEN(ppszTypeName); i++)
{
if (strType == ppszTypeName[i])