Commit 83479693cc4898b6e5669f4aee1f2683bcb0430d

Authored by blueswir1
1 parent 6e6b7363

Fix warning introduced by r6136

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6137 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/adb.c
@@ -122,7 +122,7 @@ ADBDevice *adb_register_device(ADBBusState *s, int devaddr, @@ -122,7 +122,7 @@ ADBDevice *adb_register_device(ADBBusState *s, int devaddr,
122 d->devreq = devreq; 122 d->devreq = devreq;
123 d->devreset = devreset; 123 d->devreset = devreset;
124 d->opaque = opaque; 124 d->opaque = opaque;
125 - qemu_register_reset(devreset, d); 125 + qemu_register_reset((QEMUResetHandler *)devreset, d);
126 d->devreset(d); 126 d->devreset(d);
127 return d; 127 return d;
128 } 128 }