Changeset 0a494fe in mainline for uspace/lib/usb/src/hiddescriptor.c


Ignore:
Timestamp:
2011-05-06T07:14:12Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
054537b
Parents:
4bfd85b
Message:

Fix printf directive for size_t

File:
1 edited

Legend:

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

    r4bfd85b r0a494fe  
    629629
    630630                usb_log_debug("\t\tOFFSET: %X\n", report_item->offset);
    631                 usb_log_debug("\t\tSIZE: %X\n", report_item->size);                             
     631                usb_log_debug("\t\tSIZE: %zu\n", report_item->size);
    632632                usb_log_debug("\t\tLOGMIN: %d\n", report_item->logical_minimum);
    633633                usb_log_debug("\t\tLOGMAX: %d\n", report_item->logical_maximum);               
     
    666666                usb_log_debug("Report ID: %d\n", report_des->report_id);
    667667                usb_log_debug("\tType: %d\n", report_des->type);
    668                 usb_log_debug("\tLength: %d\n", report_des->bit_length);               
    669                 usb_log_debug("\tItems: %d\n", report_des->item_length);               
     668                usb_log_debug("\tLength: %zu\n", report_des->bit_length);
     669                usb_log_debug("\tItems: %zu\n", report_des->item_length);
    670670
    671671                usb_hid_descriptor_print_list(&report_des->report_items);
Note: See TracChangeset for help on using the changeset viewer.