mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std/os/uefi: fix Guid alignment in rng protocol
This commit is contained in:
parent
bd46c1c328
commit
ff9c3c6e5b
@ -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…
x
Reference in New Issue
Block a user