mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
fixed differences in signedness warnings
svn path=/trunk/; revision=17965
This commit is contained in:
parent
8eece91bda
commit
71a3db7178
2 changed files with 7 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue