diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-01 10:46:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-01 10:46:16 +0000 |
commit | d9120e5665b12d6ef5c81fbcfc62234475759a36 (patch) | |
tree | 4848a6fcfc9362672f08f3ec72525565f9e5c859 /cpukit | |
parent | 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d9120e5665b12d6ef5c81fbcfc62234475759a36.tar.bz2 |
2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c: Remove (long) cast of st_ino.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 1 | ||||
-rw-r--r-- | cpukit/libmisc/shell/print-ls.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 86fc174123..968487c754 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org> + * libmisc/shell/print-ls.c: Remove (long) cast of st_ino. * libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c: Add missing 'const'. * libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal. diff --git a/cpukit/libmisc/shell/print-ls.c b/cpukit/libmisc/shell/print-ls.c index 56e7b149d7..1823e28dfd 100644 --- a/cpukit/libmisc/shell/print-ls.c +++ b/cpukit/libmisc/shell/print-ls.c @@ -132,8 +132,7 @@ printlong(rtems_shell_ls_globals* globals, DISPLAY *dp) continue; sp = p->fts_statp; if (f_inode) - (void)printf("%*lu ", dp->s_inode, - (unsigned long)sp->st_ino); + (void)printf("%*lu ", dp->s_inode, sp->st_ino); if (f_size && !f_humanize) { (void)printf("%*llu ", dp->s_block, (long long)howmany(sp->st_blocks, blocksize)); @@ -383,7 +382,7 @@ printaname(rtems_shell_ls_globals* globals, sp = p->fts_statp; chcnt = 0; if (f_inode) - chcnt += printf("%*lu ", inodefield, (unsigned long)sp->st_ino); + chcnt += printf("%*lu ", inodefield, sp->st_ino); if (f_size) { #if RTEMS_REMOVED if (f_humanize) { |