Fixed invalid note type trace to use correct escape sequence.

This commit is contained in:
Kyzentun
2014-08-02 00:38:57 -07:00
committed by Jonathan Payne
parent 2910fca47b
commit 2020c9b3bf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ static void TugMeterPercentChangeInit( size_t /*ScoreEvent*/ i, RString &sNameOu
switch( i )
{
default:
FAIL_M(ssprintf("Invalid ScoreEvent: %i", i));
FAIL_M(ssprintf("Invalid ScoreEvent: %i", static_cast<int>(i)));
case SE_W1: defaultValueOut = +0.010f; break;
case SE_W2: defaultValueOut = +0.008f; break;
case SE_W3: defaultValueOut = +0.004f; break;
+1 -1
View File
@@ -180,7 +180,7 @@ struct TapNote
{
if (type_ > TapNoteType_Fake )
{
LOG->Trace("Invalid tap note type %d (most likely) due to random vanish issues. Assume it doesn't need judging.", TapNoteTypeToString(type_).c_str() );
LOG->Trace("Invalid tap note type %s (most likely) due to random vanish issues. Assume it doesn't need judging.", TapNoteTypeToString(type_).c_str() );
type = TapNoteType_Empty;
}
}
+1 -1
View File
@@ -108,7 +108,7 @@ void TimingWindowSecondsInit( size_t /*TimingWindow*/ i, RString &sNameOut, floa
switch( i )
{
default:
FAIL_M(ssprintf("Invalid timing window: %i", i));
FAIL_M(ssprintf("Invalid timing window: %i", static_cast<int>(i)));
case TW_W1: defaultValueOut = 0.0225f; break;
case TW_W2: defaultValueOut = 0.045f; break;
case TW_W3: defaultValueOut = 0.090f; break;