Skip to content

Commit 4b08270

Browse files
authored
Merge pull request #784 from nicholasbishop/bishop-fix-repr
uefi: Switch Rng repr from C to transparent
2 parents 44bdca2 + f0dc93a commit 4b08270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi/src/proto/rng.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use core::{mem, ptr};
77
pub use uefi_raw::protocol::rng::RngAlgorithmType;
88

99
/// Rng protocol
10-
#[repr(C)]
10+
#[repr(transparent)]
1111
#[unsafe_protocol(uefi_raw::protocol::rng::RngProtocol::GUID)]
1212
pub struct Rng(uefi_raw::protocol::rng::RngProtocol);
1313

0 commit comments

Comments
 (0)