From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 22 Nov 2011 09:49:27 +0100 Subject: [U-Boot] [PATCH v3 1/3] Define uintptr_t as long int to simplify printf() format strings In-Reply-To: <1320424957-32385-1-git-send-email-sjg@chromium.org> References: <1320424957-32385-1-git-send-email-sjg@chromium.org> Message-ID: <4ECB6217.4090900@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 04/11/2011 17:42, Simon Glass wrote: > If uintptr_t can be either an unsigned int or an unsigned long int, it is > tricky to use it in a printf() format string. This changes it to > unsigned long int consistently. This should do the right thing on both > 32-bit and 64-bit architectures. > > Signed-off-by: Simon Glass > --- Applied to u-boot-staging, sbabic at denx.de, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================