diff --git a/reactos/drivers/usb/usbport/config.c b/reactos/drivers/usb/usbport/config.c index 0ba8415e743..8d2e937c180 100644 --- a/reactos/drivers/usb/usbport/config.c +++ b/reactos/drivers/usb/usbport/config.c @@ -16,10 +16,10 @@ #define USB_ALTSETTINGALLOC 4 #define USB_MAXINTERFACES 32 -static int usb_parse_endpoint(struct usb_host_endpoint *endpoint, unsigned char *buffer, int size) +static int usb_parse_endpoint(struct usb_host_endpoint *endpoint, char *buffer, int size) { struct usb_descriptor_header *header; - unsigned char *begin; + char *begin; int parsed = 0, len, numskipped; header = (struct usb_descriptor_header *)buffer; @@ -101,12 +101,12 @@ static int usb_parse_endpoint(struct usb_host_endpoint *endpoint, unsigned char return parsed; } -static int usb_parse_interface(struct usb_interface *interface, unsigned char *buffer, int size) +static int usb_parse_interface(struct usb_interface *interface, char *buffer, int size) { int i, len, numskipped, retval, parsed = 0; struct usb_descriptor_header *header; struct usb_host_interface *ifp; - unsigned char *begin; + char *begin; interface->act_altsetting = 0; interface->num_altsetting = 0; @@ -410,8 +410,8 @@ int usb_get_configuration(struct usb_device *dev) { int result; unsigned int cfgno, length; - unsigned char *buffer; - unsigned char *bigbuffer; + char *buffer; + char *bigbuffer; struct usb_config_descriptor *desc; if (dev->descriptor.bNumConfigurations > USB_MAXCONFIG) { diff --git a/reactos/drivers/usb/usbport/hcd.h b/reactos/drivers/usb/usbport/hcd.h index e2454de9c3c..ac564c63e7e 100644 --- a/reactos/drivers/usb/usbport/hcd.h +++ b/reactos/drivers/usb/usbport/hcd.h @@ -206,7 +206,7 @@ struct hc_driver { int (*hub_status_data) (struct usb_hcd *hcd, char *buf); int (*hub_control) (struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, - char *buf, u16 wLength); + u8 *buf, u16 wLength); }; // old version, "just in case"