diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index 823c72b3d..e3f17aac8 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -437,8 +437,9 @@ void SystemView::onCursorChanged(const CursorState& state) else { // Instant. updateGameCount(); - anim = new LambdaAnimation( - [this, startPos, endPos, posMax](float t) { mCamOffset = endPos; }, animTime); + anim = + new LambdaAnimation([this, startPos, endPos, posMax](float t) { mCamOffset = endPos; }, + static_cast(animTime)); } setAnimation(anim, 0, nullptr, false, 0);