From: Blue Swirl Date: Sun, 27 Sep 2009 19:30:56 +0000 (+0000) Subject: BSD user: suppress a warning X-Git-Tag: TizenStudio_2.0_p2.3~7378 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b2b900e5fe1f984862d7b9e74595eb184a6f7e0;p=sdk%2Femulator%2Fqemu.git BSD user: suppress a warning Signed-off-by: Blue Swirl --- diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 06e6c63..19981f0 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -1107,10 +1107,10 @@ static void load_symbols(struct elfhdr *hdr, int fd) s->disas_num_syms = nsyms; #if ELF_CLASS == ELFCLASS32 s->disas_symtab.elf32 = syms; - s->lookup_symbol = lookup_symbolxx; + s->lookup_symbol = (lookup_symbol_t)lookup_symbolxx; #else s->disas_symtab.elf64 = syms; - s->lookup_symbol = lookup_symbolxx; + s->lookup_symbol = (lookup_symbol_t)lookup_symbolxx; #endif s->next = syminfos; syminfos = s;