]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Eliminate strict aliasing compiler warnings
authorSean Hefty <sean.hefty@intel.com>
Sat, 22 Mar 2014 03:30:17 +0000 (20:30 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 8 Apr 2014 22:46:08 +0000 (15:46 -0700)
commita6ac6dd3d7347a6fd3abb53389ffa51440b1b0c5
treec4adbd0d1de170f24a5a1302160522dd475ebec4
parent9d53293a21b2967d89d27be57ed38dd5aab35f39
ibacm: Eliminate strict aliasing compiler warnings

Use local variables and memcpy to defeat the
compiler warning: dereferencing type-punned
pointer will break strict-aliasing rules

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c