File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ fn init_or_get_process_heap() -> c::HANDLE {
114114extern "C" fn process_heap_init_and_alloc (
115115 _heap : MaybeUninit < c:: HANDLE > , // We pass this argument to match the ABI of `HeapAlloc`
116116 flags : c:: DWORD ,
117- dwBytes : c :: SIZE_T ,
117+ dwBytes : usize ,
118118) -> c:: LPVOID {
119119 let heap = init_or_get_process_heap ( ) ;
120120 if core:: intrinsics:: unlikely ( heap. is_null ( ) ) {
@@ -128,7 +128,7 @@ extern "C" fn process_heap_init_and_alloc(
128128fn process_heap_alloc (
129129 _heap : MaybeUninit < c:: HANDLE > , // We pass this argument to match the ABI of `HeapAlloc`,
130130 flags : c:: DWORD ,
131- dwBytes : c :: SIZE_T ,
131+ dwBytes : usize ,
132132) -> c:: LPVOID {
133133 let heap = HEAP . load ( Ordering :: Relaxed ) ;
134134 if core:: intrinsics:: likely ( !heap. is_null ( ) ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub use windows_sys::*;
1919
2020pub type DWORD = c_ulong ;
2121pub type WCHAR = u16 ;
22- pub type SIZE_T = usize ;
2322pub type ULONG = c_ulong ;
2423
2524pub type LPCVOID = * const c_void ;
You can’t perform that action at this time.
0 commit comments