Skip to content

Commit 3cb5514

Browse files
committed
Fix CI
1 parent ee8e50a commit 3cb5514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/output-chunks.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ void DynsymSection<E>::copy_buf(Context<E> &ctx) {
18981898
ElfSym<E> *buf = (ElfSym<E> *)(ctx.buf + this->shdr.sh_offset);
18991899
i64 name_offset = ctx.dynstr->dynsym_offset;
19001900

1901-
buf[0] = {};
1901+
memset(buf, 0, sizeof(ElfSym<E>));
19021902

19031903
for (i64 i = 1; i < symbols.size(); i++) {
19041904
Symbol<E> &sym = *symbols[i];

0 commit comments

Comments
 (0)