diff options
author | Andrew Cann <shum@canndrew.org> | 2018-06-01 13:38:25 +0800 |
---|---|---|
committer | Andrew Cann <shum@canndrew.org> | 2018-06-01 13:38:25 +0800 |
commit | 1c00b9be5c455b829aab36598b025b7a5e3e4b9c (patch) | |
tree | 2b29e8f7d07b6deab84ddb39deb8685ab7ca6849 | |
parent | 4b526c2524e781b64b5c037c94d9a93a8c92a5a9 (diff) | |
download | rust-libc-1c00b9be5c455b829aab36598b025b7a5e3e4b9c.tar.gz |
fix type error
-rw-r--r-- | src/unix/notbsd/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index b517b544d1..42b7a52d4f 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -951,7 +951,7 @@ pub const RT_CLASS_MAIN: u8 = 254; pub const RT_CLASS_LOCAL: u8 = 255; pub const RT_CLASS_MAX: u8 = 255; -pub const RTMSG_OVERRUN: u32 = ::NLMSG_OVERRUN; +pub const RTMSG_OVERRUN: u32 = ::NLMSG_OVERRUN as u32; pub const RTMSG_NEWDEVICE: u32 = 0x11; pub const RTMSG_DELDEVICE: u32 = 0x12; pub const RTMSG_NEWROUTE: u32 = 0x21; |