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)