index.c
86.4 KB
-
index: Fix alignment issues in write_disk_entry() · 93271f59
In order to avoid alignment issues on certain target architectures, it is necessary to use memcpy() when modifying elements of a struct inside a buffer returned by git_filebuf_reserve().
John Paul Adrian Glaubitz committed