commit | e75d0b1365d2335758162f47cbe3bb96ef032e09 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 04 06:42:35 2011 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Tue Nov 22 08:39:24 2011 +0100 |
tree | eeb9f11fd120894260094bcb76567b8c70f8c652 | |
parent | 65a7f2d93155e2f4b2ad7f9e33c5e6de9743166b [diff] |
Define uintptr_t as long int to simplify printf() format strings 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@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>