mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std/os/uefi: fix Guid alignment in rng protocol
This commit is contained in:
parent
bd46c1c328
commit
ff9c3c6e5b
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ pub const RNGProtocol = extern struct {
|
|||
return self._get_info(self, list_size, list);
|
||||
}
|
||||
|
||||
pub fn getRNG(self: *const RNGProtocol, algo: ?*const Guid, value_length: usize, value: [*]u8) usize {
|
||||
pub fn getRNG(self: *const RNGProtocol, algo: ?*align(8) const Guid, value_length: usize, value: [*]u8) usize {
|
||||
return self._get_rng(self, algo, value_length, value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue