diff options
author | Brad King <brad.king@kitware.com> | 2013-07-25 17:03:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-25 17:10:13 (GMT) |
commit | 6a365d090193bb7cd5249015b8dea7d0b9449b87 (patch) | |
tree | 5bc44d5d87904c4cd0c217a22739b42e85c91e1d /Modules/FindZLIB.cmake | |
parent | 10e54cd6c9437c27b3a758f8de1455086c53fae5 (diff) | |
download | CMake-6a365d090193bb7cd5249015b8dea7d0b9449b87.zip CMake-6a365d090193bb7cd5249015b8dea7d0b9449b87.tar.gz CMake-6a365d090193bb7cd5249015b8dea7d0b9449b87.tar.bz2 |
sha2: Avoid type-punned pointer dereference (#14314)
GCC warns:
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
on constructs like
*(sha_word64*)&var =
so use memcpy to perform such assignments instead.
Diffstat (limited to 'Modules/FindZLIB.cmake')
0 files changed, 0 insertions, 0 deletions