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 {
4949 return self._set_position(self, position);
5050 }
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 {
5353 return self._get_info(self, information_type, buffer_size, buffer);
5454 }
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 {
5757 return self._set_info(self, information_type, buffer_size, buffer);
5858 }
5959