From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 14 Mar 2013 09:08:52 +0100 Subject: [U-Boot] [PATCH V3] nitrogen: Use unsigned long to specify the total RAM size In-Reply-To: <1363248207-11829-1-git-send-email-sbabic@denx.de> References: <1363215553-27684-2-git-send-email-festevam@gmail.com> <1363248207-11829-1-git-send-email-sbabic@denx.de> Message-ID: <51418594.3010901@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 On 14/03/2013 09:03, Stefano Babic wrote: > From: "fabio.estevam at freescale.com" > > When building for the nitrogen boards with 2GB the following warning happens: > > nitrogen6x.c:89:38: warning: integer overflow in expression [-Woverflow] > > 2GB can not fit in 32-bits, so use ulong instead. > > Reported-by: Albert Aribaud > Signed-off-by: Fabio Estevam > Signed-off-by: Stefano Babic > --- > Sorry, discharge this - it is identical to the previous one. I will send the right one in few minutes. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================