diff options
Diffstat (limited to 'sys/dev/usb/usb_transfer.c')
-rw-r--r-- | sys/dev/usb/usb_transfer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index e948299..3e5398c 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -2700,7 +2700,8 @@ usbd_callback_wrapper_sub(struct usb_xfer *xfer) (bus->methods->start_dma_delay) (xfer); } else { usbd_transfer_timeout_ms(xfer, - (void *)&usb_dma_delay_done_cb, temp); + (void (*)(void *))&usb_dma_delay_done_cb, + temp); } USB_BUS_UNLOCK(bus); return (1); /* wait for new callback */ |