]> git.sur5r.net Git - u-boot/commit
x86: Tidy up use of size_t in relocation
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:55 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commitf196bd21be5adff8a3c16918f873479be1b81143
tree2442e2364f71feedbafa612d2f7272282a320601
parentb50b1633c022bd3bac5387ea37cf8bbb474e3d73
x86: Tidy up use of size_t in relocation

Addresses should not be cast to size_t. Use uintptr_t instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/relocate.c