We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18adcef commit 0b22ecbCopy full SHA for 0b22ecb
std/src/sys/pal/windows/c.rs
@@ -18,7 +18,6 @@ mod windows_sys;
18
pub use windows_sys::*;
19
20
pub type DWORD = c_ulong;
21
-pub type UINT = c_uint;
22
pub type WCHAR = u16;
23
pub type USHORT = c_ushort;
24
pub type SIZE_T = usize;
std/src/sys/pal/windows/os.rs
@@ -383,7 +383,7 @@ pub fn home_dir() -> Option<PathBuf> {
383
}
384
385
pub fn exit(code: i32) -> ! {
386
- unsafe { c::ExitProcess(code as c::UINT) }
+ unsafe { c::ExitProcess(code as u32) }
387
388
389
pub fn getpid() -> u32 {
0 commit comments