mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
Swap endianness
This commit is contained in:
parent
a67f140d2f
commit
c910f03a7b
@ -127,10 +127,10 @@ pub fn fallocate(fd: i32, mode: i32, offset: u64, len: u64) usize {
|
||||
.fallocate,
|
||||
@bitCast(usize, @as(isize, fd)),
|
||||
@bitCast(usize, @as(isize, mode)),
|
||||
@truncate(usize, offset >> 32),
|
||||
@truncate(usize, offset),
|
||||
@truncate(usize, len >> 32),
|
||||
@truncate(usize, offset >> 32),
|
||||
@truncate(usize, len),
|
||||
@truncate(usize, len >> 32),
|
||||
);
|
||||
} else {
|
||||
return syscall4(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user