diff options
author | Matthew Smith | 2022-07-25 19:06:41 +0100 |
---|---|---|
committer | Nikias Bassen | 2022-08-24 17:18:06 +0200 |
commit | 8163aa935e9dcbc15c6c091da7fc42f017fc7ce9 (patch) | |
tree | e00d083db5ca9a7ffa83ffc1cb656b3b6e49ad1c /src/Real.cpp | |
parent | 2ca50ad4bc12ad9083897cab381fe22d3d91d49e (diff) | |
download | libplist-8163aa935e9dcbc15c6c091da7fc42f017fc7ce9.tar.gz libplist-8163aa935e9dcbc15c6c091da7fc42f017fc7ce9.tar.bz2 |
bplist: Fix strict aliasing violations
Casting a float pointer to an int pointer is a strict aliasing
violation (-Wstrict-aliasing) and is undefined behaviour (although, it
did not seem to cause any real issues).
An optimising compiler should elide the memcopies added by this commit.
Diffstat (limited to 'src/Real.cpp')
0 files changed, 0 insertions, 0 deletions