We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d5b0d commit 8bdd52dCopy full SHA for 8bdd52d
src/staticdata.c
@@ -1081,8 +1081,8 @@ static void jl_write_values(jl_serializer_state *s)
1081
if (fld != NULL) {
1082
arraylist_push(&s->relocs_list, (void*)(uintptr_t)(offset + reloc_offset)); // relocation location
1083
arraylist_push(&s->relocs_list, (void*)backref_id(s, fld)); // relocation target
1084
- memset(&s->s->buf[offset + reloc_offset], 0, sizeof(fld)); // relocation offset (none)
1085
}
+ memset(&s->s->buf[offset + reloc_offset], 0, sizeof(fld)); // relocation offset (none)
1086
1087
1088
// A few objects need additional handling beyond the generic serialization above
0 commit comments