Remove UINT
This commit is contained in:
parent
65da4af0be
commit
b107cfa73c
@ -18,7 +18,6 @@ mod windows_sys;
|
||||
pub use windows_sys::*;
|
||||
|
||||
pub type DWORD = c_ulong;
|
||||
pub type UINT = c_uint;
|
||||
pub type WCHAR = u16;
|
||||
pub type USHORT = c_ushort;
|
||||
pub type SIZE_T = usize;
|
||||
|
@ -383,7 +383,7 @@ pub fn home_dir() -> Option<PathBuf> {
|
||||
}
|
||||
|
||||
pub fn exit(code: i32) -> ! {
|
||||
unsafe { c::ExitProcess(code as c::UINT) }
|
||||
unsafe { c::ExitProcess(code as u32) }
|
||||
}
|
||||
|
||||
pub fn getpid() -> u32 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user