Signed-off-by: Juergen Beisert <jbe@xxxxxxxxxxxxxx> --- commands/linux16.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/commands/linux16.c b/commands/linux16.c index ba8db7c..6616dfd 100644 --- a/commands/linux16.c +++ b/commands/linux16.c @@ -260,7 +260,8 @@ static int do_linux16(struct command *cmdtp, int argc, char *argv[]) if (setup_sects >= 15) { void *src = lh; if (lh->kernel_version != 0) - printf("Kernel version: '%s'\n", src + lh->kernel_version + DISK_SECTOR_SIZE); + printf("Kernel version: '%s'\n", + (char *)src + lh->kernel_version + DISK_SECTOR_SIZE); } /* -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox