Changeset b4b534ac in mainline for uspace/app/vuhid/device.c
- Timestamp:
- 2016-07-22T08:24:47Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f76d2c2
- Parents:
- 5b18137 (diff), 8351f9a4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/vuhid/device.c
r5b18137 rb4b534ac 60 60 static int on_data_to_device(usbvirt_device_t *dev, 61 61 usb_endpoint_t ep, usb_transfer_type_t tr_type, 62 void *data, size_t data_size)62 const void *data, size_t data_size) 63 63 { 64 64 vuhid_data_t *vuhid = dev->device_data; … … 254 254 255 255 /* Extend existing extra descriptors with these ones. */ 256 usbvirt_device_configuration_extras_t *extra_descriptors 257 = dev->descriptors->configuration->extra; 258 extra_descriptors = realloc(extra_descriptors, 256 usbvirt_device_configuration_extras_t *extra_descriptors; 257 extra_descriptors = realloc(dev->descriptors->configuration->extra, 259 258 sizeof(usbvirt_device_configuration_extras_t) 260 259 * (dev->descriptors->configuration->extra_count + descr_count));
Note:
See TracChangeset
for help on using the changeset viewer.