summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-02-05 13:53:57 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-11 10:37:49 +0100
commitee2aaa8bf348cbe4dd4ffbe2c223ee9acf497eaf (patch)
tree8d1f569cdf5e1a1e1f808e2583c9fe2492b50f5c /lib
parent55765b9c1f78e07586624d66d4d4124354d390c7 (diff)
downloadbarebox-ee2aaa8bf348cbe4dd4ffbe2c223ee9acf497eaf.tar.gz
barebox-ee2aaa8bf348cbe4dd4ffbe2c223ee9acf497eaf.tar.xz
PCI: dwc: Fix pointer width cast problem
Casting to u32 works well on 32-bit builds, but causes problem when compiled on 64-bit machines. Switch it to cast to "unsigned long", so that it would have appropriate width in both cases. While at it, replace explicit casts to void * with IOMEM. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions