p7zip: fix man page paths
[oi-userland.git] / components / sysutils / gammu / patches / 01-types.patch
blob189950659f7b498e250b6f0d1a43114448d23c06
1 --- gammu-1.37.4/libgammu/device/usb/usb.c.1 2016-10-21 09:11:55.925264840 +0300
2 +++ gammu-1.37.4/libgammu/device/usb/usb.c 2016-10-21 09:14:25.891997596 +0300
3 @@ -43,18 +43,18 @@
4 * Union of CDC descriptor.
5 */
6 struct cdc_union_desc {
7 - u_int8_t bLength;
8 - u_int8_t bDescriptorType;
9 - u_int8_t bDescriptorSubType;
10 + uint8_t bLength;
11 + uint8_t bDescriptorType;
12 + uint8_t bDescriptorSubType;
14 - u_int8_t bMasterInterface0;
15 - u_int8_t bSlaveInterface0;
16 + uint8_t bMasterInterface0;
17 + uint8_t bSlaveInterface0;
18 } __attribute__ ((packed));
20 struct cdc_extra_desc {
21 - u_int8_t bLength;
22 - u_int8_t bDescriptorType;
23 - u_int8_t bDescriptorSubType;
24 + uint8_t bLength;
25 + uint8_t bDescriptorType;
26 + uint8_t bDescriptorSubType;
27 } __attribute__ ((packed));
29 /* CDC header types (bDescriptorSubType) */