Blue Swirl
7b13448f05
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>
2010-04-18 14:26:51 +00:00
..
2010-03-12 18:44:24 +00:00
2010-01-19 16:31:02 -06:00
2009-08-16 09:06:54 +00:00
2010-03-17 02:44:41 +00:00
2010-02-06 17:14:24 +01:00
2009-11-12 11:23:55 -06:00
2010-02-14 16:10:54 +02:00
2010-03-04 00:29:28 -03:00
2010-03-04 00:29:28 -03:00
2010-02-06 17:14:24 +01:00
2010-03-26 23:37:23 +01:00
2010-04-18 14:26:51 +00:00