mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Fix loop index var types, fixing many minor sign comparison warnings
foo.size() typically returns an unsigned integral type; make loop variables match those types' signedness.
This commit is contained in:
parent
ab9dc75a18
commit
c376ac359e
10 changed files with 44 additions and 44 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue