Fix loop index var types, fixing many minor sign comparison warnings
[novacoin.git] / src / protocol.cpp
index 15fbf9f..06306cf 100644 (file)
@@ -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])