diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-03 14:23:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-03 14:23:35 (GMT) |
commit | e3559c7b64e7963e3515c2ebfd7f1abad810ed19 (patch) | |
tree | cc2fe52fe08e5b0e5c43e329eaa0fe15b3871b85 /test/dt_arith.c | |
parent | 81bc34ac4c3f42532edee32095651f6bcd5e55a2 (diff) | |
download | hdf5-e3559c7b64e7963e3515c2ebfd7f1abad810ed19.zip hdf5-e3559c7b64e7963e3515c2ebfd7f1abad810ed19.tar.gz hdf5-e3559c7b64e7963e3515c2ebfd7f1abad810ed19.tar.bz2 |
Add casts to type conversion to fix long dbl bug (#3038)
If a user buffer is misaligned in the type conversion code, memcpy
could fail if the call is SSE-optimized by the compiler. This change
adds uint8_t * casts so the compiler won't make optimistic assumptions
about buffer alignment.
Diffstat (limited to 'test/dt_arith.c')
0 files changed, 0 insertions, 0 deletions