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

net: ftmac100: Cast priv->iobase with uintptr_t



priv->iobase was declared as phys_addr_t which is now a 64-bit
address. In a 32-bit build, this causes the following warning
seen when building ftmac100.c:

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

Cast priv->iobase with uintptr_t.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
parent b7324b5d
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