Changeset ffa2def in rtems for cpukit/libmisc/shell/main_lsof.c


Ignore:
Timestamp:
Aug 6, 2013, 8:58:58 AM (7 years ago)
Author:
R. Diez <rdiezmail-rtems@…>
Branches:
4.11, 5, master
Children:
015bd1b
Parents:
3d68be1
git-author:
R. Diez <rdiezmail-rtems@…> (08/06/13 08:58:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/06/13 09:02:56)
Message:

Fix compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/main_lsof.c

    r3d68be1 rffa2def  
    4646      mt_entry->target,
    4747      mt_entry->dev == NULL ? "none" : mt_entry->dev,
    48       mt_entry->mt_fs_root,
    49       mt_entry->mt_fs_root->location.node_access
     48      (unsigned)mt_entry->mt_fs_root,
     49      (unsigned)mt_entry->mt_fs_root->location.node_access
    5050    );
    5151
     
    5656    ) {
    5757      const rtems_filesystem_location_info_t *loc =
    58         (rtems_filesystem_location_info_t *) mt_entry_node;
     58        (const rtems_filesystem_location_info_t *) mt_entry_node;
    5959
    6060      fprintf(
    6161        stdout,
    6262        "\t0x%08x -> 0x%08x\n",
    63         loc,
    64         loc->node_access
     63        (unsigned)loc,
     64        (unsigned)loc->node_access
    6565      );
    6666    }
Note: See TracChangeset for help on using the changeset viewer.