summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-03 14:23:35 (GMT)
committerGitHub <noreply@github.com>2023-06-03 14:23:35 (GMT)
commite3559c7b64e7963e3515c2ebfd7f1abad810ed19 (patch)
treecc2fe52fe08e5b0e5c43e329eaa0fe15b3871b85 /test/dt_arith.c
parent81bc34ac4c3f42532edee32095651f6bcd5e55a2 (diff)
downloadhdf5-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