Kill warning from unavoidable signed/unsigned comparison in bitcoinrpc.cpp.

This commit is contained in:
Gregory Maxwell 2012-05-09 07:17:30 -04:00
parent 2e767410b8
commit d285c7bf2c

View file

@ -1525,7 +1525,7 @@ Value listtransactions(const Array& params, bool fHelp)
if (pacentry != 0) if (pacentry != 0)
AcentryToJSON(*pacentry, strAccount, ret); AcentryToJSON(*pacentry, strAccount, ret);
if (ret.size() >= (nCount+nFrom)) break; if ((int)ret.size() >= (nCount+nFrom)) break;
} }
// ret is newest to oldest // ret is newest to oldest