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

Mike Frysinger vapier at gentoo.org
Tue Dec 20 19:21:32 CET 2011


On Tuesday 20 December 2011 12:51:09 Anatolij Gustschin wrote:
> -		*(int *) &eerev.res[0] = 0;
> +		memset(&eerev.res[0], 0, 4);

&foo[0] is the same thing as foo
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111220/454ce581/attachment.pgp>


More information about the U-Boot mailing list