aboutsummaryrefslogtreecommitdiff
path: root/i386-dis.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-18 14:26:51 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-18 14:26:51 +0000
commit7b13448f05882b98c836c32329b1aca347abeb52 (patch)
tree74215f7e5f94db97868e9ab7f859cc6a47f70bc7 /i386-dis.c
parent8c0d577eb5e5255333e43bd4b89dc3a266f03685 (diff)
PPC: avoid function pointer type mismatch, spotted by clang
Fixes clang errors: CC ppc-softmmu/translate.o /src/qemu/target-ppc/translate.c:3748:13: error: comparison of distinct pointer types ('void (*)(void *, int, int)' and 'void *') if (likely(read_cb != SPR_NOACCESS)) { /src/qemu/target-ppc/translate.c:3748:28: note: instantiated from: if (likely(read_cb != SPR_NOACCESS)) { /src/qemu/target-ppc/translate.c:3903:13: error: comparison of distinct pointer types ('void (*)(void *, int, int)' and 'void *') if (likely(write_cb != SPR_NOACCESS)) { /src/qemu/target-ppc/translate.c:3903:29: note: instantiated from: if (likely(write_cb != SPR_NOACCESS)) { Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'i386-dis.c')
0 files changed, 0 insertions, 0 deletions