
14 Jul
2013
14 Jul
'13
7:44 p.m.
Dear Timur Tabi,
In message 51DB3787.4000308@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@denx.de
Your own mileage may vary.