summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadname.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadname.c')
-rw-r--r--cpukit/score/src/threadname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadname.c b/cpukit/score/src/threadname.c
index a4ee3ab5bd..4c1ca5e033 100644
--- a/cpukit/score/src/threadname.c
+++ b/cpukit/score/src/threadname.c
@@ -22,7 +22,7 @@ Status_Control _Thread_Set_name(
size_t length;
length = strlcpy(
- the_thread->Join_queue.Queue.name,
+ RTEMS_DECONST( char *, the_thread->Join_queue.Queue.name ),
name,
_Thread_Maximum_name_size
);