| author | |
| committer | |
| log | edabcf61927f9699f9b869f304e9aed97f2c4a47 |
| tree | e08c149556330e7c497099e2068f9f31fe38f246 |
| parent | 4fad60fd3a70d0b059ce92ce825faabc1d2ac2e8 |
Type is correct on GnuHashSection64 but not on 32 bit version. Change it so
use of DynLib on 32-bit archs compiles.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/dynamic_library.zig+1-1| ... | ... | @@ -397,7 +397,7 @@ pub const ElfDynLib = struct { |
| 397 | 397 | |
| 398 | 398 | const bloom_ptr: [*]u32 = @ptrFromInt(bloom_offset); |
| 399 | 399 | const buckets_ptr: [*]u32 = @ptrFromInt(buckets_offset); |
| 400 | const chain_ptr: [*]u32 = @ptrFromInt(chain_offset); | |
| 400 | const chain_ptr: [*]elf.gnu_hash.ChainEntry = @ptrFromInt(chain_offset); | |
| 401 | 401 | |
| 402 | 402 | return .{ |
| 403 | 403 | .symoffset = header.symoffset, |