x32/FD: Fix readahead upper offset type

This should be a uint32_t
This commit is contained in:
LC committed 2026-07-11 13:33:11 -04:00
1 parent d2f096187c
commit a90a7dbec7
1 file changed
+1 -1
@@ -944,7 +944,7 @@ void RegisterFD(FEX::HLE::SyscallHandler* Handler) {
});
REGISTER_SYSCALL_IMPL_X32(
readahead, [](FEXCore::Core::CpuStateFrame* Frame, int fd, uint32_t offset_low, uint64_t offset_high, size_t count) -> uint64_t {
readahead, [](FEXCore::Core::CpuStateFrame* Frame, int fd, uint32_t offset_low, uint32_t offset_high, size_t count) -> uint64_t {
uint64_t Offset = offset_high;
Offset <<= 32;
Offset |= offset_low;