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 GitHub
parent c11cadd8d6
commit 8271cfc97b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;