mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
std.os.uefi: fix comptime idx
This commit is contained in:
@@ -1239,7 +1239,7 @@ fn protocolInterfaces(
|
||||
) = undefined;
|
||||
result[0] = handle_arg;
|
||||
|
||||
var idx: usize = 1;
|
||||
comptime var idx: usize = 1;
|
||||
inline for (interfaces) |interface| {
|
||||
const InterfacePtr = @TypeOf(interface);
|
||||
const Interface = switch (@typeInfo(InterfacePtr)) {
|
||||
|
||||
Reference in New Issue
Block a user