Fix warning introduced by r6136

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6137 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-12-28 21:05:44 +00:00
parent 6e6b736313
commit 83479693cc

View File

@ -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;
}