aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-07-05 13:25:52 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-07-05 13:26:27 -0400
commitdab9fa7f919807885bd693c4fa14ed740792c294 (patch)
treec629ba7da872cb8b3a24fccfaeb984220c79c7de /src/bitcoinrpc.cpp
parentb47d2bc164bd21d4bec988fa8abfecc74d5ce5da (diff)
downloadbitcoin-dab9fa7f919807885bd693c4fa14ed740792c294.tar.xz
Use unsigned ints to fix signed/unsigned warnings
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index adcf359c9f..e83e4da5df 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -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)