Use unsigned ints to fix signed/unsigned warnings

This commit is contained in:
Gavin Andresen
2012-07-05 13:25:52 -04:00
parent b47d2bc164
commit dab9fa7f91
3 changed files with 11 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ Object JSONRPCError(int code, const string& message)
void RPCTypeCheck(const Array& params,
const list<Value_type>& typesExpected)
{
int i = 0;
unsigned int i = 0;
BOOST_FOREACH(Value_type t, typesExpected)
{
if (params.size() <= i)