Ignore:
Timestamp:
2018-01-10T18:07:44Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94a0904
Parents:
8bab0d2
Message:

usb: little changes to make compiler happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hiddescriptor.c

    r8bab0d2 r806a779  
    175175
    176176        if(report_item->usages_count > 0){
    177                 usages = malloc(sizeof(int32_t) * report_item->usages_count);
     177                usages = malloc(sizeof(uint32_t) * report_item->usages_count);
    178178                memcpy(usages, report_item->usages, sizeof(int32_t) *
    179179                                report_item->usages_count);
Note: See TracChangeset for help on using the changeset viewer.