diff options
| author | Blue Swirl | 2009-09-27 21:30:56 +0200 |
|---|---|---|
| committer | Blue Swirl | 2009-09-27 21:30:56 +0200 |
| commit | 032e51d7f0bbab23b41f84ad7be8c3040ce24070 (patch) | |
| tree | 113541763c8ad5b3b1ddff299f784c5f104de3e8 | |
| parent | BSD user: implement GUEST_BASE (diff) | |
| download | qemu-032e51d7f0bbab23b41f84ad7be8c3040ce24070.tar.gz qemu-032e51d7f0bbab23b41f84ad7be8c3040ce24070.tar.xz qemu-032e51d7f0bbab23b41f84ad7be8c3040ce24070.zip | |
BSD user: suppress a warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
| -rw-r--r-- | bsd-user/elfload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 06e6c63efb..19981f0a97 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; |
