From: Wolfgang Denk Date: Sun, 14 Jul 2013 19:44:06 +0200 Subject: [U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning In-Reply-To: <51DB3787.4000308@tabi.org> References: <1373307567-21958-1-git-send-email-wd@denx.de> <51DB3787.4000308@tabi.org> Message-ID: <20130714174406.48B61380DFF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 at denx.de Your own mileage may vary.