OSDN Git Service

rctest: Fix compilation errors due to unaligned memory access
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 4 Sep 2012 14:41:24 +0000 (16:41 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 5 Sep 2012 09:16:38 +0000 (12:16 +0300)
commit9139fc4ea3fa65c97c5ccd83c216f082197b2267
treee1cca3035eb0394e5ecd5d0b8ecd0ac55fdba60f
parent89cb335422a9de0ab3bd0bb629c703ca532ed378
rctest: Fix compilation errors due to unaligned memory access

This fix following build errors on ARM.

  CC     test/rctest.o
test/rctest.c: In function do_send:
test/rctest.c:539:4: error: cast increases required alignment of target
type [-Werror=cast-align]
test/rctest.c:540:4: error: cast increases required alignment of target
type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [test/rctest.o] Error 1
test/rctest.c