Skip to content
Commit d17e9d25 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

fdtdec: Cast prior_stage_fdt_address with uintptr_t



At present prior_stage_fdt_address is declared as phys_addr_t. On
a 32-bit platform where phys_addr_t can be 64-bit, assigning its
value to gd->fdt_blob which is a pointer, can cause warnings.

Cast it to uintptr_t before the assignment.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 673625c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment