summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-18 17:06:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-18 17:06:05 +0100
commitfd144302a5e5d8124cb5107ef1ba02b1502d16b1 (patch)
tree8dac7e2087cdb46a3ce8cf9fefb78b99bbc35bba
parent7fcb71af147001311681b38836c81dddaa1005cd (diff)
downloadrtems-fd144302a5e5d8124cb5107ef1ba02b1502d16b1.tar.bz2
IMFS: Silence warning
-rw-r--r--cpukit/libfs/src/imfs/imfs_initsupp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_initsupp.c b/cpukit/libfs/src/imfs/imfs_initsupp.c
index 242856340e..5528e1899b 100644
--- a/cpukit/libfs/src/imfs/imfs_initsupp.c
+++ b/cpukit/libfs/src/imfs/imfs_initsupp.c
@@ -193,7 +193,7 @@ IMFS_jnode_t *IMFS_node_remove_default(
void IMFS_node_destroy_default( IMFS_jnode_t *node )
{
if ( ( node->flags & IMFS_NODE_FLAG_NAME_ALLOCATED ) != 0 ) {
- free( node->name );
+ free( RTEMS_DECONST( char *, node->name ) );
}
free( node );