summaryrefslogtreecommitdiff
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
commita0d4152769d816cf966dec2d604cf9eda6759b9d (patch)
tree7f638d8330c8e28732162a7d4c40a30db732fca2 /hw/adb.c
parent7bcab587da1a22a80fa56a077ef6c5254c658bae (diff)
downloadqemu-a0d4152769d816cf966dec2d604cf9eda6759b9d.tar.gz
qemu-a0d4152769d816cf966dec2d604cf9eda6759b9d.tar.bz2
qemu-a0d4152769d816cf966dec2d604cf9eda6759b9d.zip
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;
}