core: fix i586 build (#13550)

Signed-off-by: Florian "sp1rit"​ <sp1rit@disroot.org>
This commit is contained in:
Florian "sp1rit 2026-03-04 12:33:44 +01:00 committed by Vaxry
parent 4b07770b9e
commit 628cc608d2
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -61,7 +61,7 @@ void CScrollTapeController::insertStrip(ssize_t afterIndex, float size) {
return;
}
afterIndex = std::clamp(afterIndex, -1L, sc<ssize_t>(INT32_MAX));
afterIndex = std::clamp(afterIndex, sc<ssize_t>(-1L), sc<ssize_t>(INT32_MAX));
SStripData newStrip;
newStrip.size = size;