From a0d4152769d816cf966dec2d604cf9eda6759b9d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 28 Dec 2008 21:05:44 +0000 Subject: [PATCH] Fix warning introduced by r6136 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6137 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/adb.c b/hw/adb.c index e5f2752..0f21445 100644 --- a/hw/adb.c +++ b/hw/adb.c @@ -122,7 +122,7 @@ ADBDevice *adb_register_device(ADBBusState *s, int devaddr, d->devreq = devreq; d->devreset = devreset; d->opaque = opaque; - qemu_register_reset(devreset, d); + qemu_register_reset((QEMUResetHandler *)devreset, d); d->devreset(d); return d; } -- 2.7.4