mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
(Windows) Fixed an MSVC compiler warning.
This commit is contained in:
parent
6ee33634fb
commit
590f080897
|
@ -103,7 +103,7 @@ void ScrollableContainer::update(int deltaTime)
|
|||
|
||||
speedModifier *= mAutoScrollSpeedConstant;
|
||||
speedModifier /= mResolutionModifier;
|
||||
mAdjustedAutoScrollSpeed = speedModifier;
|
||||
mAdjustedAutoScrollSpeed = static_cast<int>(speedModifier);
|
||||
}
|
||||
|
||||
if (mAdjustedAutoScrollSpeed < 0)
|
||||
|
|
Loading…
Reference in a new issue