[U-Boot] [PATCH] board/eltec/elppc/misc.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Tue Dec 20 23:21:47 CET 2011


Dear Anatolij Gustschin,

In message <1324403469-3085-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> misc.c: In function 'misc_init_r':
> misc.c:119:3: warning: dereferencing type-punned pointer
> will break strict-aliasing rules [-Wstrict-aliasing]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  board/eltec/elppc/misc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Peace was the way.
	-- Kirk, "The City on the Edge of Forever", stardate unknown


More information about the U-Boot mailing list