Changes in uspace/app/vuhid/device.c [d1974966:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/vuhid/device.c
rd1974966 r9d58539 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 constvoid *data, size_t data_size)62 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 extra_descriptors = realloc(dev->descriptors->configuration->extra, 256 usbvirt_device_configuration_extras_t *extra_descriptors 257 = dev->descriptors->configuration->extra; 258 extra_descriptors = realloc(extra_descriptors, 258 259 sizeof(usbvirt_device_configuration_extras_t) 259 260 * (dev->descriptors->configuration->extra_count + descr_count));
Note:
See TracChangeset
for help on using the changeset viewer.