Skip to content

Commit

Permalink
Update crates/nsis-process/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Jun 5, 2024
1 parent 820d702 commit 8217ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nsis-process/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ unsafe fn run_as_user(command: &str, arguments: &str) -> bool {
}

let mut proccess_id = 0;
if GetWindowThreadProcessId(hwnd, &mut proccess_id) == FALSE {
if GetWindowThreadProcessId(hwnd, &mut proccess_id) == FALSE as u32 {
return false;
}

Expand Down

0 comments on commit 8217ea0

Please sign in to comment.