From d285c7bf2c44ad93bcd4c6bf661f6fc8bc352c85 Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Wed, 9 May 2012 07:17:30 -0400 Subject: [PATCH] Kill warning from unavoidable signed/unsigned comparison in bitcoinrpc.cpp. --- src/bitcoinrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index a189b2b2b0..5c78656fcd 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1525,7 +1525,7 @@ Value listtransactions(const Array& params, bool fHelp) if (pacentry != 0) AcentryToJSON(*pacentry, strAccount, ret); - if (ret.size() >= (nCount+nFrom)) break; + if ((int)ret.size() >= (nCount+nFrom)) break; } // ret is newest to oldest