Replace C shorts by integer types

master
Luna 2020-03-30 17:23:46 -03:00 committed by Andrew Kelley
parent 11a06d4341
commit 10ea2db5cb
1 changed files with 2 additions and 2 deletions

View File

@ -1712,7 +1712,7 @@ pub const IFNAMESIZE = 16;
pub const ifmap = extern struct {
mem_start: c_ulong,
mem_end: c_ulong,
base_addr: c_ushort,
base_addr: u16,
irq: u8,
dma: u8,
port: u8,
@ -1728,7 +1728,7 @@ pub const ifreq = extern struct {
ifru_broadaddr: sockaddr,
ifru_netmask: sockaddr,
ifru_hwaddr: sockaddr,
ifru_flags: c_short,
ifru_flags: i16,
ifru_ivalue: i32,
ifru_mtu: i32,
ifru_map: ifmap,