memory_display: Fix type of argument passed to %*s
On AArch64, pointer arithmetic in (pos - line) resolves into "long
int", whereas "%*s" is expecting regular "int". Add explicit cast to
avoid compiler warnings.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2008b1f commit f91a993e39f43bf78e9723cec207fd03cf4867d9
@Andrey Smirnov Andrey Smirnov authored on 8 Jan 2019
Sascha Hauer committed on 9 Jan 2019
Showing 1 changed file
View
common/memory_display.c