Skip to content

Commit

Permalink
Upgrade windows-sys to 0.59
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Dec 11, 2024
1 parent c215bfd commit dc0a2fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ version = "0.4"
optional = true

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
version = "0.59"
features = ["Win32_Foundation"]

[target.'cfg(not(windows))'.dependencies.xz2]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ fn do_self_update(
#[cfg(windows)]
{
use Win32::Foundation::HANDLE;
let mut handle: HANDLE = 0;
let mut handle: HANDLE = std::ptr::null_mut();
let curproc = unsafe { Win32::System::Threading::GetCurrentProcess() };
if unsafe {
Win32::Foundation::DuplicateHandle(
Expand Down

0 comments on commit dc0a2fb

Please sign in to comment.