mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std/os/uefi: fix Guid alignment in rng protocol
This commit is contained in:
committed by
Andrew Kelley
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user