authorgravatar for mason1920@protonmail.commason1920 <mason1920@protonmail.com> 2021-05-19 17:47:13-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-20 18:53:59-04:00
log884547f177d1f15934da4276cd301acd93cb1657
treef76af0dd3854dabde1715d5549f9788b9ece5b2b
parent495e9961695f97631abd0e739cb2190e809352b5

Const correct GUID parameter of getInfo and setInfo


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/uefi/protocols/file_protocol.zig+2-2
...@@ -49,11 +49,11 @@ pub const FileProtocol = extern struct {...@@ -49,11 +49,11 @@ pub const FileProtocol = extern struct {
49 return self._set_position(self, position);49 return self._set_position(self, position);
50 }50 }
5151
52 pub fn getInfo(self: *const FileProtocol, information_type: *align(8) Guid, buffer_size: *usize, buffer: [*]u8) Status {52 pub fn getInfo(self: *const FileProtocol, information_type: *align(8) const Guid, buffer_size: *usize, buffer: [*]u8) Status {
53 return self._get_info(self, information_type, buffer_size, buffer);53 return self._get_info(self, information_type, buffer_size, buffer);
54 }54 }
5555
56 pub fn setInfo(self: *const FileProtocol, information_type: *align(8) Guid, buffer_size: usize, buffer: [*]const u8) Status {56 pub fn setInfo(self: *const FileProtocol, information_type: *align(8) const Guid, buffer_size: usize, buffer: [*]const u8) Status {
57 return self._set_info(self, information_type, buffer_size, buffer);57 return self._set_info(self, information_type, buffer_size, buffer);
58 }58 }
5959