[U-Boot] [PATCH v2 01/22] mkimage: Add OMAP boot image support

Mike Frysinger vapier at gentoo.org
Mon May 16 04:55:07 CEST 2011


On Sunday, May 15, 2011 21:52:53 Mike Frysinger wrote:
> On Sunday, May 15, 2011 11:21:19 Aneesh V wrote:
> > +static void omapimage_print_header(const void *ptr)
> > +{
> > +	struct ch_toc *toc = (struct ch_toc *)ptr;
> 
> you're casting away the void.  something is fundamentally broken here.

err, obviously i meant "const" instead of "void" ...
-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/20110515/729cd7d2/attachment.pgp 


More information about the U-Boot mailing list