Fix warning
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
#include "GameSoundManager.h"
|
#include "GameSoundManager.h"
|
||||||
#include "ThemeMetric.h"
|
#include "ThemeMetric.h"
|
||||||
|
|
||||||
CString WARNING_COMMAND_NAME( size_t i ) { return ssprintf("WarningCommand%d",i); }
|
CString WARNING_COMMAND_NAME( size_t i ) { return ssprintf("WarningCommand%d",int(i)); }
|
||||||
|
|
||||||
static const ThemeMetric<int> WARNING_START ("MenuTimer","WarningStart");
|
static const ThemeMetric<int> WARNING_START ("MenuTimer","WarningStart");
|
||||||
static const ThemeMetric<int> WARNING_BEEP_START ("MenuTimer","WarningBeepStart");
|
static const ThemeMetric<int> WARNING_BEEP_START ("MenuTimer","WarningBeepStart");
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ void ScreenRanking::Init()
|
|||||||
{
|
{
|
||||||
vector<Course*> vpCourses;
|
vector<Course*> vpCourses;
|
||||||
GetAllCoursesToShow( vpCourses, SHOW_ONLY_MOST_RECENT_SCORES, NUM_MOST_RECENT_SCORES_TO_SHOW );
|
GetAllCoursesToShow( vpCourses, SHOW_ONLY_MOST_RECENT_SCORES, NUM_MOST_RECENT_SCORES_TO_SHOW );
|
||||||
LOG->Trace("rankings: adding %u courses", vpCourses.size());
|
LOG->Trace("rankings: adding %u courses", unsigned(vpCourses.size()));
|
||||||
m_vScoreRowItem.resize( vpCourses.size() );
|
m_vScoreRowItem.resize( vpCourses.size() );
|
||||||
FOREACH_CONST( Course*, vpCourses, c )
|
FOREACH_CONST( Course*, vpCourses, c )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user