diff options
| author | tokyo4j <hrak1529@gmail.com> | 2025-08-28 00:11:56 +0900 |
|---|---|---|
| committer | Linus Groh <mail@linusgroh.de> | 2025-08-28 07:50:38 +0100 |
| commit | 151c7dc74b97d2552637af526cf56390586386a6 (patch) | |
| tree | d400c2e6a0d7e137e7c5e3dc40583bb198c2f34d /lib/std | |
| parent | 417c68d249fc3a3fa5dad4adca57d191fe04daef (diff) | |
| download | zig-151c7dc74b97d2552637af526cf56390586386a6.tar.gz zig-151c7dc74b97d2552637af526cf56390586386a6.zip | |
std.os.uefi: fix type error at MemoryType.format()
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/os/uefi/tables.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/uefi/tables.zig b/lib/std/os/uefi/tables.zig index ad163dbdbf..90e525c507 100644 --- a/lib/std/os/uefi/tables.zig +++ b/lib/std/os/uefi/tables.zig @@ -90,7 +90,7 @@ pub const MemoryType = enum(u32) { return @truncate(as_int - vendor_start); } - pub fn format(self: MemoryType, w: *std.io.Writer) std.io.WriteError!void { + pub fn format(self: MemoryType, w: *std.io.Writer) std.io.Writer.Error!void { if (self.toOem()) |oemval| try w.print("OEM({X})", .{oemval}) else if (self.toVendor()) |vendorval| |
