projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa5d9b
)
BSD user: suppress a warning
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 27 Sep 2009 19:30:56 +0000
(19:30 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 27 Sep 2009 19:30:56 +0000
(19:30 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
bsd-user/elfload.c
patch
|
blob
|
history
diff --git
a/bsd-user/elfload.c
b/bsd-user/elfload.c
index
06e6c63
..
19981f0
100644
(file)
--- 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;