Merge branch '0.4.x' into 0.5.x
[novacoin.git] / src / protocol.cpp
index f46570e..9933452 100644 (file)
@@ -270,7 +270,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])