Skip to content

Commit 2de991a

Browse files
committed
extra shit moments
Rust was being a shit and not rebuilding this, so I only discovered now that I fucked it up. I also can't reorder the commit to fix it without making a new commit because GitHub Desktop is being a shit, so you get this commit too.
1 parent 27fcbaf commit 2de991a

File tree

1 file changed

+1
-1
lines changed
  • third_party/rust/libloading/src/os/windows

1 file changed

+1
-1
lines changed

third_party/rust/libloading/src/os/windows/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod windows_imports {
77
use super::{DWORD, BOOL, HANDLE, HMODULE, FARPROC};
88
pub(super) use std::os::windows::ffi::{OsStrExt, OsStringExt};
99
windows_targets::link!("kernel32.dll" "system" fn GetLastError() -> DWORD);
10-
windows_targets::link!("kernel32.dll" "system" fn SetErrorMode(umode: UINT) -> UINT);
10+
windows_targets::link!("kernel32.dll" "system" fn SetErrorMode(umode: u32) -> u32);
1111
windows_targets::link!("kernel32.dll" "system" fn GetModuleHandleExW(flags: u32, module_name: *const u16, module: *mut HMODULE) -> BOOL);
1212
windows_targets::link!("kernel32.dll" "system" fn FreeLibrary(module: HMODULE) -> BOOL);
1313
windows_targets::link!("kernel32.dll" "system" fn LoadLibraryExW(filename: *const u16, file: HANDLE, flags: DWORD) -> HMODULE);

0 commit comments

Comments
 (0)