cmd_pxe.c: fix strict-aliasing warnings
authorJason Hobbs <jason.hobbs@calxeda.com>
Mon, 5 Mar 2012 08:12:28 +0000 (08:12 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 27 Mar 2012 13:17:32 +0000 (15:17 +0200)
commit834c9384a43f36464982521163f6462857e560e6
tree818b756e539cfc33e4f75bbf162f7f6ebb24d316
parent65029492914ea96dec0bfe25a987463a869c72d2
cmd_pxe.c: fix strict-aliasing warnings

Without this patch, some versions of gcc (at least ELDK 4.2) complain
about dereferencing type-punned pointers.

Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
common/cmd_pxe.c