Changeset b4b534ac in mainline for uspace/app/vuhid/device.c


Ignore:
Timestamp:
2016-07-22T08:24:47Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
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.
Message:

Merge from lp:~jan.vesely/helenos/usb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vuhid/device.c

    r5b18137 rb4b534ac  
    6060static int on_data_to_device(usbvirt_device_t *dev,
    6161    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)
    6363{
    6464        vuhid_data_t *vuhid = dev->device_data;
     
    254254
    255255        /* 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,
    259258            sizeof(usbvirt_device_configuration_extras_t)
    260259            * (dev->descriptors->configuration->extra_count + descr_count));
Note: See TracChangeset for help on using the changeset viewer.