From 8798ada9d93e965f9b23566d7c334ffb2f853254 Mon Sep 17 00:00:00 2001 From: auria Date: Fri, 30 Apr 2010 20:16:35 +0000 Subject: [PATCH] Fixed two warnings git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5326 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/items/powerup_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/items/powerup_manager.cpp b/src/items/powerup_manager.cpp index 9c45436e8..1fe43c9bd 100644 --- a/src/items/powerup_manager.cpp +++ b/src/items/powerup_manager.cpp @@ -198,7 +198,7 @@ void PowerupManager::loadWeights(const XMLNode &root, printf("Incorrect number of weights found in class '%s':\n", class_name.c_str()); printf("%d instead of %d - probabilities will be incorrect.\n", - weight_list.size(), (int)POWERUP_LAST); + (int)weight_list.size(), (int)POWERUP_LAST); return; } @@ -275,4 +275,4 @@ PowerupManager::PowerupType PowerupManager::getRandomPowerup(unsigned int pos) int random = rand()%m_powerups_for_position[pos_class].size(); return m_powerups_for_position[pos_class][random]; -} // getRandomPowerup \ No newline at end of file +} // getRandomPowerup