diff --git a/reactos/drivers/usb/miniport/usbohci/ohci-hub.c b/reactos/drivers/usb/miniport/usbohci/ohci-hub.c index a7584a499af..a3a1c3bca6c 100644 --- a/reactos/drivers/usb/miniport/usbohci/ohci-hub.c +++ b/reactos/drivers/usb/miniport/usbohci/ohci-hub.c @@ -153,7 +153,7 @@ static int ohci_hub_control ( u16 typeReq, u16 wValue, u16 wIndex, - char *buf, + u8 *buf, u16 wLength ) { struct ohci_hcd *ohci = hcd_to_ohci (hcd); diff --git a/reactos/drivers/usb/miniport/usbuhci/uhci-hub.c b/reactos/drivers/usb/miniport/usbuhci/uhci-hub.c index 559b81586c0..f5d16cc7039 100644 --- a/reactos/drivers/usb/miniport/usbuhci/uhci-hub.c +++ b/reactos/drivers/usb/miniport/usbuhci/uhci-hub.c @@ -54,7 +54,7 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) /* size of returned buffer is part of USB spec */ static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, - u16 wIndex, char *buf, u16 wLength) + u16 wIndex, u8 *buf, u16 wLength) { struct uhci_hcd *uhci = hcd_to_uhci(hcd); int i, status, retval = 0, len = 0;