mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 12:27:41 +00:00
std/os/uefi: Fix parameter type mismatch in edid_override_protocol
This commit is contained in:
parent
628a7f85de
commit
c727bd1bb6
@ -9,7 +9,7 @@ pub const EdidOverrideProtocol = extern struct {
|
||||
|
||||
/// Returns policy information and potentially a replacement EDID for the specified video output device.
|
||||
pub fn getEdid(self: *const EdidOverrideProtocol, handle: Handle, attributes: *EdidOverrideProtocolAttributes, edid_size: *usize, edid: *?[*]u8) Status {
|
||||
return self._get_edid(self, handle, attributes, edid_size, edid);
|
||||
return self._get_edid(self, handle, @ptrCast(*u32, attributes), edid_size, edid);
|
||||
}
|
||||
|
||||
pub const guid align(8) = Guid{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user