summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 09:58:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:23:09 +0100
commit81c73acf41e8f2926e9223a738407d33bdc386f6 (patch)
tree87cb8cda695a70bb4fdad711488ba9ae25f6609c
parent5d4285766286dd664ca563919654ce12cb760b1f (diff)
downloadrtems-81c73acf41e8f2926e9223a738407d33bdc386f6.tar.bz2
IMFS: Fix warning
-rw-r--r--cpukit/libfs/src/imfs/imfs_creat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_creat.c b/cpukit/libfs/src/imfs/imfs_creat.c
index 2e24972a28..6ec86ccffd 100644
--- a/cpukit/libfs/src/imfs/imfs_creat.c
+++ b/cpukit/libfs/src/imfs/imfs_creat.c
@@ -53,7 +53,7 @@ IMFS_jnode_t *IMFS_create_node(
if ( node != NULL ) {
IMFS_jnode_t *parent = parentloc->node_access;
- memcpy( node->name, name, namelen );
+ memcpy( RTEMS_DECONST( char *, node->name ), name, namelen );
/*
* This node MUST have a parent, so put it in that directory list.