Skip to content

Commit 9d93c7b

Browse files
committed
Merge branch 'error-bit' into 'master'
uefi: Fix Status `ERROR_BIT` Closes #2 See merge request redox-os/uefi!7
2 parents 3e17141 + 070ddc5 commit 9d93c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/uefi/src/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use core::ops::{ControlFlow, FromResidual, Try};
22

3-
pub const ERROR_BIT: usize = 1 << 63;
3+
pub const ERROR_BIT: usize = 1 << (usize::BITS - 1);
44

55
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
66
#[repr(usize)]

0 commit comments

Comments
 (0)