Changeset ad79d80 in mainline


Ignore:
Timestamp:
2010-12-10T10:33:24Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a880374
Parents:
99ea659c
Message:

Bugfixes for amd64

Corrected usage of %zu for size_t, another case of switched paramter
order.

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/virtusbkbd/virtusbkbd.c

    r99ea659c rad79d80  
    202202int main(int argc, char * argv[])
    203203{
    204         printf("Dump of report descriptor (%u bytes):\n", report_descriptor_size);
     204        printf("Dump of report descriptor (%zu bytes):\n", report_descriptor_size);
    205205        size_t i;
    206206        for (i = 0; i < report_descriptor_size; i++) {
  • uspace/drv/vhc/connhost.c

    r99ea659c rad79d80  
    9393    usbhc_iface_transfer_out_callback_t callback, void *arg)
    9494{
    95         printf(NAME ": transfer OUT [%d.%d (%s); %u]\n",
     95        printf(NAME ": transfer OUT [%d.%d (%s); %zu]\n",
    9696            target.address, target.endpoint,
    9797            usb_str_transfer_type(transfer_type),
     
    113113    usbhc_iface_transfer_out_callback_t callback, void *arg)
    114114{
    115         printf(NAME ": transfer SETUP [%d.%d (%s); %u]\n",
     115        printf(NAME ": transfer SETUP [%d.%d (%s); %zu]\n",
    116116            target.address, target.endpoint,
    117117            usb_str_transfer_type(transfer_type),
     
    133133    usbhc_iface_transfer_in_callback_t callback, void *arg)
    134134{
    135         printf(NAME ": transfer IN [%d.%d (%s); %u]\n",
     135        printf(NAME ": transfer IN [%d.%d (%s); %zu]\n",
    136136            target.address, target.endpoint,
    137137            usb_str_transfer_type(transfer_type),
  • uspace/lib/usb/src/remotedrv.c

    r99ea659c rad79d80  
    300300 */
    301301static void remote_in_callback(usb_hc_device_t *hc,
    302     usb_transaction_outcome_t outcome, size_t actual_size, void *arg)
     302    size_t actual_size, usb_transaction_outcome_t outcome, void *arg)
    303303{
    304304        transfer_info_t *transfer = (transfer_info_t *) arg;
Note: See TracChangeset for help on using the changeset viewer.