Re: [U-Boot] [PATCH] mkimage: Fix strict-aliasing compiler warning

2010-04-09 Thread Wolfgang Denk
Dear Peter Tyser, In message <1270438563-26748-1-git-send-email-pty...@xes-inc.com> you wrote: > Version 4.2.4 of gcc produces the following warnings without this change: > mkimage.c: In function `main': > mkimage.c:204: warning: dereferencing type-punned pointer will break > strict-aliasing

[U-Boot] [PATCH] mkimage: Fix strict-aliasing compiler warning

2010-04-04 Thread Peter Tyser
Version 4.2.4 of gcc produces the following warnings without this change: mkimage.c: In function ‘main’: mkimage.c:204: warning: dereferencing type-punned pointer will break strict-aliasing rules mkimage.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules Sig