[U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning

Wolfgang Denk wd at denx.de
Sun Jul 14 19:44:06 CEST 2013


Dear Timur Tabi,

In message <51DB3787.4000308 at tabi.org> you wrote:
> On 07/08/2013 01:19 PM, Wolfgang Denk wrote:
> > +		uint32_t crc_buf;
> > +
> > +		memcpy(&crc_buf, &buf[24], sizeof(unsigned int));
> 
> Well, this is wrong, because it should be sizeof(uint32_t).  Or maybe
> sizeof(crc_buf).

Indedd. Sorry.  V3 on the way.

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
Your own mileage may vary.


More information about the U-Boot mailing list