[rtems commit] score: C++ compatibility

Sebastian Huber sebh at rtems.org
Fri Mar 18 08:25:31 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Mar 18 09:25:00 2016 +0100

score: C++ compatibility

---

 cpukit/score/include/rtems/score/threadimpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index 3f8df85..37ac596 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -1030,7 +1030,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Lock_release_critical(
 {
 #if defined(RTEMS_SMP)
   _SMP_ticket_lock_Release(
-    lock,
+    (SMP_ticket_lock_Control *) lock,
     &lock_context->Lock_context.Stats_context
   );
 #else




More information about the vc mailing list