From ed859637b1034d871a0196a033b647ae121cdd4d Mon Sep 17 00:00:00 2001 From: Vivek Goyal Date: Mon, 18 Jul 2005 14:01:15 -0600 Subject: Add explicit cast from unsigned long to void * in kexec-x86.c --- kexec/arch/i386/kexec-x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec/arch/i386/kexec-x86.c b/kexec/arch/i386/kexec-x86.c index 31ea17b..1159686 100644 --- a/kexec/arch/i386/kexec-x86.c +++ b/kexec/arch/i386/kexec-x86.c @@ -237,7 +237,7 @@ int arch_compat_trampoline(struct kexec_info *info, unsigned long *flags) elf_rel_set_symbol(&info->rhdr, "compat_x86_64_entry32", &info->entry, sizeof(info->entry)); - info->entry = elf_rel_get_addr(&info->rhdr, "compat_x86_64"); + info->entry = (void *)elf_rel_get_addr(&info->rhdr, "compat_x86_64"); } else { fprintf(stderr, "Unsupported machine type: %s\n", -- cgit