riscv: ax25-ae350: Cast addr with uintptr_t
authorBin Meng <bin.meng@windriver.com>
Sun, 31 Jan 2021 12:36:01 +0000 (20:36 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000 (03:38 -0700)
commitb7324b5d5380cddbac7f17bc6229776763c08ee4
treec1739e370e2d319568028d6a99786fbbb2ac3007
parent5c7c9e623c5ffdc333ef4876ee800384c60a4955
riscv: ax25-ae350: Cast addr with uintptr_t

addr was delcared as fdt_addr_t which is now a 64-bit address.
In a 32-bit build, this causes the following warning seen when
building ax25-ae350.c:

  warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Cast addr with uintptr_t.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
board/AndesTech/ax25-ae350/ax25-ae350.c