9
0
Fork 0

LINUX16: Fix warning

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
This commit is contained in:
Juergen Beisert 2010-12-22 15:06:10 +01:00 committed by Sascha Hauer
parent 263635161c
commit b01ceef2e2
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
/*