u_int32_t gives error on Windows assuming guint32 will do.

svn path=/trunk/; revision=19482
This commit is contained in:
Anders Broman 2006-10-10 21:46:44 +00:00
parent 9dcd4f3372
commit cec6d51774
1 changed files with 9 additions and 9 deletions

View File

@ -44,18 +44,18 @@ typedef enum {
} urb_type_t; } urb_type_t;
typedef struct usb_header { typedef struct usb_header {
u_int32_t urb_type; guint32 urb_type;
u_int32_t device_address; guint32 device_address;
u_int32_t endpoint_number; guint32 endpoint_number;
u_int32_t setup_packet; guint32 setup_packet;
} usb_header_t; } usb_header_t;
typedef struct usb_setup { typedef struct usb_setup {
u_int32_t bmRequestType; guint32 bmRequestType;
u_int32_t bRequest; guint32 bRequest;
u_int32_t wValue; guint32 wValue;
u_int32_t wIndex; guint32 wIndex;
u_int32_t wLength; guint32 wLength;
} usb_setup_t; } usb_setup_t;