From e8f54bbda52cc67eb2721c32400b19b776fd2cf0 Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Wed, 19 Apr 2023 11:53:14 +0800 Subject: [PATCH] uclibc/mips: fixed SA_* mismatched types Signed-off-by: Xiaobo Liu --- src/unix/linux_like/linux/uclibc/mips/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs index 56bfcc5d355a7..d51d73f2944fe 100644 --- a/src/unix/linux_like/linux/uclibc/mips/mod.rs +++ b/src/unix/linux_like/linux/uclibc/mips/mod.rs @@ -23,10 +23,10 @@ pub const ECOMM: ::c_int = 70; pub const EPROTO: ::c_int = 71; pub const EDOTDOT: ::c_int = 73; -pub const SA_NODEFER: ::c_int = 0x40000000; -pub const SA_RESETHAND: ::c_int = 0x80000000; -pub const SA_RESTART: ::c_int = 0x10000000; -pub const SA_NOCLDSTOP: ::c_int = 0x00000001; +pub const SA_NODEFER: ::c_uint = 0x40000000; +pub const SA_RESETHAND: ::c_uint = 0x80000000; +pub const SA_RESTART: ::c_uint = 0x10000000; +pub const SA_NOCLDSTOP: ::c_uint = 0x00000001; pub const EPOLL_CLOEXEC: ::c_int = 0x80000;