Ignore:
File:
1 edited

Legend:

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

    rd1974966 r9d58539  
    6060static int on_data_to_device(usbvirt_device_t *dev,
    6161    usb_endpoint_t ep, usb_transfer_type_t tr_type,
    62     const void *data, size_t data_size)
     62    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         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,
    258259            sizeof(usbvirt_device_configuration_extras_t)
    259260            * (dev->descriptors->configuration->extra_count + descr_count));
Note: See TracChangeset for help on using the changeset viewer.