mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
std.os.linux.bpf: fix compile error
This commit is contained in:
parent
a85f41ec2c
commit
4a27d2aac6
@ -458,7 +458,7 @@ pub const Insn = packed struct {
|
||||
else
|
||||
ImmOrReg{ .imm = src };
|
||||
|
||||
const src_type = switch (imm_or_reg) {
|
||||
const src_type: u8 = switch (imm_or_reg) {
|
||||
.imm => K,
|
||||
.reg => X,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user