diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 01:26:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 01:28:08 +0100 |
commit | 789a7e7299a580f295d1abd327bb4acf063fd9f0 (patch) | |
tree | efb0b1e43284bb6aa53c56350b2cdb37ee4a0bb9 /write.h | |
parent | b8874015bd1d09b1b72293c0b5be422fd375e04b (diff) | |
download | mig-789a7e7299a580f295d1abd327bb4acf063fd9f0.tar.gz mig-789a7e7299a580f295d1abd327bb4acf063fd9f0.tar.bz2 mig-789a7e7299a580f295d1abd327bb4acf063fd9f0.zip |
Fix compilation warnings
Nowadays' compilers are able to recognize memcpy and replace it
appropriately without having to tell them so through a structure
assignment. That also avoids warnings about type puning.
* utils.c (WriteCopyType): Emit memcpy call instead of type-puned
assignement.
Diffstat (limited to 'write.h')
0 files changed, 0 insertions, 0 deletions