aboutsummaryrefslogtreecommitdiff
path: root/hw/adb.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-28 21:05:44 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-28 21:05:44 +0000
commit83479693cc4898b6e5669f4aee1f2683bcb0430d (patch)
tree7f638d8330c8e28732162a7d4c40a30db732fca2 /hw/adb.c
parent6e6b73631301d41e8b18de4d35937bc78b0117f3 (diff)
Fix warning introduced by r6136
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6137 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/adb.c')
-rw-r--r--hw/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adb.c b/hw/adb.c
index e5f27523c0..0f21445757 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;
}