MipsStackWalk: Fix s64 -> u32 implicit casting warning

This commit is contained in:
Ty 2025-10-25 12:58:04 -04:00 committed by Ty
parent 615cd00147
commit 52c17e67a5

View File

@ -108,7 +108,7 @@ namespace MipsStackWalk
if (entry == INVALIDTARGET)
{
stop = std::max<s64>(0, (s64)start - LONGEST_FUNCTION);
stop = static_cast<u32>(std::max<s64>(0, (s64)start - LONGEST_FUNCTION));
}
for (u32 pc = start; cpu->isValidAddress(pc) && pc >= stop; pc -= 4)