]> git.baikalelectronics.ru Git - uboot.git/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)
commit9c940f186ecaf29c3d98665ff0d0b29cd6378f83
tree2442e2364f71feedbafa612d2f7272282a320601
parentef6b7c78f9c2ba80a969e83bcffcb8bcb149a3cd
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