| ... | @@ -50,7 +50,7 @@ pub fn fromPosixSignalContext(ctx_ptr: ?*const anyopaque) ?Native { | ... | @@ -50,7 +50,7 @@ pub fn fromPosixSignalContext(ctx_ptr: ?*const anyopaque) ?Native { |
| 50 | }; | 50 | }; |
| 51 | | 51 | |
| 52 | // I have no idea why the kernel is storing these registers in such a bizarre order... | 52 | // I have no idea why the kernel is storing these registers in such a bizarre order... |
| 53 | std.mem.reverse(native.r[0..]); | 53 | std.mem.reverse(u32, native.r[0..]); |
| 54 | | 54 | |
| 55 | return native; | 55 | return native; |
| 56 | } else if (native_arch == .loongarch32 and native_os == .linux) { | 56 | } else if (native_arch == .loongarch32 and native_os == .linux) { |