| author | |
| committer | |
| log | ae15281c0577694e17a3301fd83d097ed9991bad |
| tree | 111ec9f99e2188e5ffbdfb5f8cfb5449938b6c3b |
| parent | f750618846f598836e5170c31ac4988df2d6f00d |
1 files changed, 1 insertions(+), 1 deletions(-)
src/link/MachO/commands.zig+1-1| ... | ... | @@ -316,7 +316,7 @@ pub fn createLoadDylibCommand( |
| 316 | 316 | ) !GenericCommandWithData(macho.dylib_command) { |
| 317 | 317 | const cmdsize = @intCast(u32, mem.alignForwardGeneric( |
| 318 | 318 | u64, |
| 319 | @sizeOf(macho.dylib_command) + name.len, | |
| 319 | @sizeOf(macho.dylib_command) + name.len + 1, // +1 for nul | |
| 320 | 320 | @sizeOf(u64), |
| 321 | 321 | )); |
| 322 | 322 |