[U-Boot] [PATCH v3 1/3] Define uintptr_t as long int to simplify printf() format strings

Stefano Babic sbabic at denx.de
Tue Nov 22 09:49:27 CET 2011


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 <sjg at chromium.org>
> ---

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
=====================================================================


More information about the U-Boot mailing list