commit aba1dbc954392e4385ba4e511da046e6b9f66dfc (tree)
parent 6ce3c2423ece2a63bf52d2a39f55fba321925d0b
Author: Wes Koerber <wes@weskoerber.com>
Date: Sun, 19 May 2024 20:53:36 -0400
fix: incorrect field sizes in std.os.linux.ifmap
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
@@ -5918,8 +5918,8 @@ pub const SIOCGIFINDEX = 0x8933;
pub const IFNAMESIZE = 16;
pub const ifmap = extern struct {
- mem_start: u32,
- mem_end: u32,
+ mem_start: usize,
+ mem_end: usize,
base_addr: u16,
irq: u8,
dma: u8,