From b545d97c0cdb61e8632b0652a522d89dae8fbcb6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 18 Mar 2016 09:25:00 +0100 Subject: [PATCH] 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 3f8df856d5..37ac5964be 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