[rtems commit] score: Fix warning in _Thread_Set_name()
Sebastian Huber
sebh at rtems.org
Tue Feb 14 07:43:09 UTC 2017
Module: rtems
Branch: master
Commit: 6dbbafc6b03339298c06bc0f837fbf5e07cafc2b
Changeset: http://git.rtems.org/rtems/commit/?id=6dbbafc6b03339298c06bc0f837fbf5e07cafc2b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 14 08:42:48 2017 +0100
score: Fix warning in _Thread_Set_name()
---
cpukit/score/src/threadname.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/threadname.c b/cpukit/score/src/threadname.c
index a4ee3ab..4c1ca5e 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
);
More information about the vc
mailing list