From 590f0808977f47ee185dfb6965ffa0868594f201 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 30 Sep 2021 20:18:15 +0200 Subject: [PATCH] (Windows) Fixed an MSVC compiler warning. --- es-core/src/components/ScrollableContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/ScrollableContainer.cpp b/es-core/src/components/ScrollableContainer.cpp index 6f4798584..218b7cd3a 100644 --- a/es-core/src/components/ScrollableContainer.cpp +++ b/es-core/src/components/ScrollableContainer.cpp @@ -103,7 +103,7 @@ void ScrollableContainer::update(int deltaTime) speedModifier *= mAutoScrollSpeedConstant; speedModifier /= mResolutionModifier; - mAdjustedAutoScrollSpeed = speedModifier; + mAdjustedAutoScrollSpeed = static_cast(speedModifier); } if (mAdjustedAutoScrollSpeed < 0)