Re: [U-Boot] [PATCH 03/13] dfu: Build warning fixes for 64-bit

2015-03-23 Thread Lukasz Majewski
Hi Thierry, > From: Thierry Reding > > Explicitly cast the result of a pointer arithmetic to unsigned int so > that it matches the corresponding printf format string. While at it, > use %p to print a buffer address rather than %x and an explicit cast > (which causes a warning in this case becaus

[U-Boot] [PATCH 03/13] dfu: Build warning fixes for 64-bit

2015-03-20 Thread Thierry Reding
From: Thierry Reding Explicitly cast the result of a pointer arithmetic to unsigned int so that it matches the corresponding printf format string. While at it, use %p to print a buffer address rather than %x and an explicit cast (which causes a warning in this case because it's cast to unsigned i