From ffa2defc78f0ec60761952b512880cc00f13608e Mon Sep 17 00:00:00 2001 From: "R. Diez" Date: Tue, 6 Aug 2013 10:58:58 +0200 Subject: Fix compiler warnings --- cpukit/libmisc/shell/main_lsof.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/libmisc/shell/main_lsof.c') diff --git a/cpukit/libmisc/shell/main_lsof.c b/cpukit/libmisc/shell/main_lsof.c index 2c6ece1653..73c1731cb2 100644 --- a/cpukit/libmisc/shell/main_lsof.c +++ b/cpukit/libmisc/shell/main_lsof.c @@ -45,8 +45,8 @@ static void lsof(void) mt_entry->type, mt_entry->target, mt_entry->dev == NULL ? "none" : mt_entry->dev, - mt_entry->mt_fs_root, - mt_entry->mt_fs_root->location.node_access + (unsigned)mt_entry->mt_fs_root, + (unsigned)mt_entry->mt_fs_root->location.node_access ); for ( @@ -55,13 +55,13 @@ static void lsof(void) mt_entry_node = rtems_chain_next( mt_entry_node ) ) { const rtems_filesystem_location_info_t *loc = - (rtems_filesystem_location_info_t *) mt_entry_node; + (const rtems_filesystem_location_info_t *) mt_entry_node; fprintf( stdout, "\t0x%08x -> 0x%08x\n", - loc, - loc->node_access + (unsigned)loc, + (unsigned)loc->node_access ); } } -- cgit v1.2.3