From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 08 Jul 2013 17:04:55 -0500 Subject: [U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning In-Reply-To: <1373307567-21958-1-git-send-email-wd@denx.de> References: <1373307567-21958-1-git-send-email-wd@denx.de> Message-ID: <51DB3787.4000308@tabi.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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