We can just use a regular assignment instead. This is more type-safe since there is no need to provide the struct size. The remaining memcpy() calls perform array copies or copies from void pointers (which may be unaligned).master
parent
77dc1c28aa
commit
c74f89d4f8
Loading…
Reference in new issue