Skip to content

Commit

Permalink
crates/sel4-capdl-initializer: fix compile error
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic authored and nspin committed Mar 6, 2024
1 parent 2f5fe67 commit c97687b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sel4-capdl-initializer/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ impl<'a, N: ObjectName, D: Content, M: GetEmbeddedFrame, B: BorrowMut<[PerObject
Some(cap) => {
let orig = self.orig_cap::<cap_type::Endpoint>(cap.object);
let badge = cap.badge;
let rights = cap.rights.into();
let rights = (&cap.rights).into();
if badge == 0 && rights == CapRights::all() {
orig
} else {
Expand Down

0 comments on commit c97687b

Please sign in to comment.