Commit c727bd1bb6

fifty-six <ybham6@gmail.com>
2022-01-16 08:52:45
std/os/uefi: Fix parameter type mismatch in edid_override_protocol
1 parent 628a7f8
Changed files (1)
lib
std
os
lib/std/os/uefi/protocols/edid_override_protocol.zig
@@ -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{