summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h2
1 files changed, 1 insertions, 1 deletions
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