X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=inline;f=Source%2FAccount.cpp;h=ce8838bd2588b424bb123864dba7529940e1ec71;hb=8e94b0e0f79e8fc55ace5699ffe039462d9e155d;hp=a087158dc0b16f2d686af8fe7aeaf6e38a43e4cd;hpb=31801560f92e99939f40ee49d9c279324db044bb;p=lugaru.git diff --git a/Source/Account.cpp b/Source/Account.cpp index a087158..ce8838b 100644 --- a/Source/Account.cpp +++ b/Source/Account.cpp @@ -59,7 +59,7 @@ Account* Account::add(string name) Account* Account::get(int i) { - if ((i >= 0) && (i < accounts.size())) { + if ((i >= 0) && (i < int(accounts.size()))) { return accounts[i]; } else return NULL;