mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 01:25: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 *= mAutoScrollSpeedConstant;
|
||||||
speedModifier /= mResolutionModifier;
|
speedModifier /= mResolutionModifier;
|
||||||
mAdjustedAutoScrollSpeed = speedModifier;
|
mAdjustedAutoScrollSpeed = static_cast<int>(speedModifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mAdjustedAutoScrollSpeed < 0)
|
if (mAdjustedAutoScrollSpeed < 0)
|
||||||
|
|
Loading…
Reference in a new issue