--- trunk/reactos/drivers/usb/usbport/config.c 2005-09-21 14:01:49 UTC (rev 17964)
+++ trunk/reactos/drivers/usb/usbport/config.c 2005-09-21 15:32:53 UTC (rev 17965)
@@ -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 @@
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 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) {
--- trunk/reactos/drivers/usb/usbport/hcd.h 2005-09-21 14:01:49 UTC (rev 17964)
+++ trunk/reactos/drivers/usb/usbport/hcd.h 2005-09-21 15:32:53 UTC (rev 17965)
@@ -206,7 +206,7 @@
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"