eal/x86: fix strict aliasing rules
authorZhihong Wang <zhihong.wang@intel.com>
Mon, 2 Mar 2015 09:03:50 +0000 (17:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 9 Mar 2015 11:46:46 +0000 (12:46 +0100)
commit76746eb13f088856711b2787ea5a0c5c29e46dbf
tree553303eae6212ef4257865d6af84287f717c5dfc
parent0cd854eef5e12f3f6333f69463a234f968661723
eal/x86: fix strict aliasing rules

Fixed strict-aliasing rules breaking errors for some GCC version.

Signed-off-by: Zhihong Wang <zhihong.wang@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
lib/librte_eal/common/include/arch/x86/rte_memcpy.h