Remove UINT

This commit is contained in:
Chris Denton 2024-07-14 06:44:48 +00:00
parent 65da4af0be
commit b107cfa73c
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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 {