Skip to content

Commit

Permalink
refactor: 🔥 remove superfluous cast inside emit
Browse files Browse the repository at this point in the history
This commit removes the superfluous cast of `status` inside the internal `@emit` match.
  • Loading branch information
oberrich committed Apr 17, 2024
1 parent 6f5d91a commit 426e0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ macro_rules! syscall {
stack_dealloc = const $crate::STACK_ALLOC + 8 * syscall!(@count_tts $($stack)*),
);

status as NTSTATUS
status
}};
}

Expand Down

0 comments on commit 426e0ff

Please sign in to comment.