Skip to content

Commit

Permalink
fix winapi import
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Feb 21, 2018
1 parent 98f17bc commit 7a56457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/death.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ fn enabled() -> bool {
let me = processthreadsapi::GetCurrentProcess();
let mut ret = 0;
let r = jobapi::IsProcessInJob(me, 0 as *mut _, &mut ret);
assert!(r != 0);
if ret == winapi::shared::minwindef::FALSE {
assert_ne!(r, 0);
if ret == ::winapi::shared::minwindef::FALSE {
return true
}

Expand Down

0 comments on commit 7a56457

Please sign in to comment.