authorgravatar for hrak1529@gmail.comtokyo4j <hrak1529@gmail.com> 2025-08-28 00:11:56+09:00
committergravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-08-28 07:50:38+01:00
log151c7dc74b97d2552637af526cf56390586386a6
treed400c2e6a0d7e137e7c5e3dc40583bb198c2f34d
parent417c68d249fc3a3fa5dad4adca57d191fe04daef

std.os.uefi: fix type error at MemoryType.format()


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

lib/std/os/uefi/tables.zig+1-1
......@@ -90,7 +90,7 @@ pub const MemoryType = enum(u32) {
9090 return @truncate(as_int - vendor_start);
9191 }
9292
93 pub fn format(self: MemoryType, w: *std.io.Writer) std.io.WriteError!void {
93 pub fn format(self: MemoryType, w: *std.io.Writer) std.io.Writer.Error!void {
9494 if (self.toOem()) |oemval|
9595 try w.print("OEM({X})", .{oemval})
9696 else if (self.toVendor()) |vendorval|