]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Account.cpp
Fixed a lot of warnings
[lugaru.git] / Source / Account.cpp
index a087158dc0b16f2d686af8fe7aeaf6e38a43e4cd..ce8838bd2588b424bb123864dba7529940e1ec71 100644 (file)
@@ -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;