diff options
author | NeilBrown <neilb@suse.de> | 2009-04-29 11:44:02 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-04-29 11:44:02 +1000 |
commit | caa0f6c623214231380c5ef0de91b53cc43d1e0b (patch) | |
tree | f2a986154d8c5e4e72aca7754dc67d788105e3a6 /mdadm.h | |
parent | 667e66d329168f205f0f67674910287fed982d87 (diff) | |
download | mdadm-caa0f6c623214231380c5ef0de91b53cc43d1e0b.tar.gz mdadm-caa0f6c623214231380c5ef0de91b53cc43d1e0b.tar.xz mdadm-caa0f6c623214231380c5ef0de91b53cc43d1e0b.zip |
Fix gcc-4.4 compiler warning.
Apparently the dereferencing of a type-punned pointer breaks strict
aliasing rules. And we wouldn't want to do that.
So just make a different array of the appropriate type and use memcpy.
Resolves-Debian-bug: 505375
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
0 files changed, 0 insertions, 0 deletions