MipsStackWalk: Fix s64 -> u32 implicit casting warning

This commit is contained in:
Ty
2025-11-21 18:20:58 -05:00
committed by Ty
parent 615cd00147
commit 52c17e67a5
+1 -1
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)