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

Timur Tabi timur at tabi.org
Tue Jul 9 00:04:55 CEST 2013


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).

-- 
Timur Tabi


More information about the U-Boot mailing list