Parent: 4ac4e80fd2cbe88f4972d70e1ea5d5cf3dfc6c5b
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-05 12:16:15
Tree: 4001d5c0a60a5d569d625fc0134f07a796809e53
l2test: Fix compilation errors due to unaligned memory access This fix following build errors on ARM. CC test/l2test.o test/l2test.c: In function recv_mode: test/l2test.c:826:9: error: cast increases required alignment of target type [-Werror=cast-align] test/l2test.c:834:8: error: cast increases required alignment of target type [-Werror=cast-align] test/l2test.c: In function do_send: test/l2test.c:893:4: error: cast increases required alignment of target type [-Werror=cast-align] test/l2test.c:894:4: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [test/l2test.o] Error 1
Diffstat
| M | test/l2test.c | | | 9 | +++++- - - - |
1 files changed, 5 insertions(+), 4 deletions(-)