authorgravatar for hrak1529@gmail.comtokyo4j <hrak1529@gmail.com> 2025-08-28 00:11:56+09:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-29 00:12:44+02:00
logcb9821a827f972252f8c02775bd2df07435f04c6
treeea74b65e4a416ff515b6c2877b065777273ad16f
parent1231c8fbbd8be33674d33a302ddcb5dbcf52e2bf
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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|