| ... | @@ -2270,7 +2270,7 @@ const ElfDumper = struct { | ... | @@ -2270,7 +2270,7 @@ const ElfDumper = struct { |
| 2270 | try writer.print(" {s}", .{sym_bind}); | 2270 | try writer.print(" {s}", .{sym_bind}); |
| 2271 | } | 2271 | } |
| 2272 | | 2272 | |
| 2273 | const sym_vis = @as(elf.STV, @enumFromInt(sym.st_other)); | 2273 | const sym_vis = @as(elf.STV, @enumFromInt(@as(u2, @truncate(sym.st_other)))); |
| 2274 | try writer.print(" {s}", .{@tagName(sym_vis)}); | 2274 | try writer.print(" {s}", .{@tagName(sym_vis)}); |
| 2275 | | 2275 | |
| 2276 | const sym_name = switch (sym.st_type()) { | 2276 | const sym_name = switch (sym.st_type()) { |