From d9120e5665b12d6ef5c81fbcfc62234475759a36 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 1 Jun 2010 10:46:16 +0000 Subject: =?UTF-8?q?2010-06-01=20=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libmisc/shell/print-ls.c: Remove (long) cast of st_ino. --- cpukit/ChangeLog | 1 + cpukit/libmisc/shell/print-ls.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit') 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 + * 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) { -- cgit v1.2.3