From 359f281a4a082c690e01e0bf23f492dd96bcd223 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Tue, 20 May 2008 03:30:54 +0000 Subject: [PATCH] Removed VS warnings. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1952 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/unlock_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unlock_manager.cpp b/src/unlock_manager.cpp index b89005c5a..9a1c25fc9 100755 --- a/src/unlock_manager.cpp +++ b/src/unlock_manager.cpp @@ -183,7 +183,7 @@ void UnlockManager::grandPrixFinished() //----------------------------------------------------------------------------- void UnlockManager::lockFeature(Challenge* challenge) { - const unsigned int amount = challenge->getFeatures().size(); + const unsigned int amount = (unsigned int)challenge->getFeatures().size(); for(unsigned int n=0; ngetFeatures()[n].name]=true; } // lockFeature @@ -192,7 +192,7 @@ void UnlockManager::lockFeature(Challenge* challenge) void UnlockManager::unlockFeature(Challenge* c, bool save) { - const unsigned int amount = c->getFeatures().size(); + const unsigned int amount = (unsigned int)c->getFeatures().size(); for(unsigned int n=0; ngetFeatures()[n].name;