mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
Fix format on uefi guid type, was hitting unreachable
This commit is contained in:
parent
7f6eab2704
commit
e8af0f2cc0
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ pub const Guid = extern struct {
|
|||
const time_mid = @byteSwap(self.time_mid);
|
||||
const time_high_and_version = @byteSwap(self.time_high_and_version);
|
||||
|
||||
return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", .{
|
||||
return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x}", .{
|
||||
std.mem.asBytes(&time_low),
|
||||
std.mem.asBytes(&time_mid),
|
||||
std.mem.asBytes(&time_high_and_version),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue