Skip to content

Commit 0b22ecb

Browse files
committed
Remove UINT
1 parent 18adcef commit 0b22ecb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

std/src/sys/pal/windows/c.rs

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ mod windows_sys;
1818
pub use windows_sys::*;
1919

2020
pub type DWORD = c_ulong;
21-
pub type UINT = c_uint;
2221
pub type WCHAR = u16;
2322
pub type USHORT = c_ushort;
2423
pub type SIZE_T = usize;

std/src/sys/pal/windows/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ pub fn home_dir() -> Option<PathBuf> {
383383
}
384384

385385
pub fn exit(code: i32) -> ! {
386-
unsafe { c::ExitProcess(code as c::UINT) }
386+
unsafe { c::ExitProcess(code as u32) }
387387
}
388388

389389
pub fn getpid() -> u32 {

0 commit comments

Comments
 (0)