mirror of
https://github.com/timvisee/lazymc.git
synced 2025-05-19 04:40:22 -07:00
Fix compilation error on Windows
This commit is contained in:
parent
99af0c6437
commit
69b964b603
@ -11,7 +11,7 @@ pub unsafe fn force_kill(pid: u32) -> bool {
|
||||
debug!(target: "lazymc", "Sending force kill to {} to kill server", pid);
|
||||
let handle = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
|
||||
if handle == NULL {
|
||||
warn!(target: "lazymc", "Failed to open process handle in order to kill it", pid);
|
||||
warn!(target: "lazymc", "Failed to open process handle in order to kill it");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user