std.os.uefi: fix comptime idx

This commit is contained in:
Mikołaj Rosowski
2026-04-17 16:55:22 +02:00
parent 6e987a1d04
commit 1d7c8108b1
+1 -1
View File
@@ -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)) {