]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/elfload.c
BSD user: suppress a warning
[mirror_qemu.git] / bsd-user / elfload.c
index 06e6c63efbd3146ac1e8383c4663e63e117ea727..19981f0a97f4750257bce5caeb0d42d976c85675 100644 (file)
@@ -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;