diff --git a/src/CombinedLifeMeterTug.cpp b/src/CombinedLifeMeterTug.cpp index 7d1eefc502..c1d8cfdbfb 100644 --- a/src/CombinedLifeMeterTug.cpp +++ b/src/CombinedLifeMeterTug.cpp @@ -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(i))); case SE_W1: defaultValueOut = +0.010f; break; case SE_W2: defaultValueOut = +0.008f; break; case SE_W3: defaultValueOut = +0.004f; break; diff --git a/src/NoteTypes.h b/src/NoteTypes.h index 2d22b57d73..4cabac1e9c 100644 --- a/src/NoteTypes.h +++ b/src/NoteTypes.h @@ -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; } } diff --git a/src/Player.cpp b/src/Player.cpp index 0865791d96..fe57053f31 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -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(i))); case TW_W1: defaultValueOut = 0.0225f; break; case TW_W2: defaultValueOut = 0.045f; break; case TW_W3: defaultValueOut = 0.090f; break;