[rtems commit] score: Fix warning

Sebastian Huber sebh at rtems.org
Tue Jul 18 12:38:45 UTC 2017


Module:    rtems
Branch:    master
Commit:    852d7059b6cbad029a8d18786d2aca30be95b706
Changeset: http://git.rtems.org/rtems/commit/?id=852d7059b6cbad029a8d18786d2aca30be95b706

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jul 17 09:15:04 2017 +0200

score: Fix warning

Update #3059.

---

 cpukit/score/src/schedulergetaffinity.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/schedulergetaffinity.c b/cpukit/score/src/schedulergetaffinity.c
index 8425a7f..b405d2b 100644
--- a/cpukit/score/src/schedulergetaffinity.c
+++ b/cpukit/score/src/schedulergetaffinity.c
@@ -26,7 +26,7 @@ bool _Scheduler_Get_affinity(
 {
   const Scheduler_Control    *scheduler;
   ISR_lock_Context            lock_context;
-  Processor_mask             *affinity;
+  const Processor_mask       *affinity;
   Processor_mask_Copy_status  status;
 
   scheduler = _Thread_Scheduler_get_home( the_thread );



More information about the vc mailing list