Skip to content

Commit 454bd97

Browse files
committed
Fix #1366, removed cast that hid the bug at compile time
1 parent b44f4ce commit 454bd97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/os/rtems/src/os-impl-timebase.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,9 @@ int32 OS_TimeBaseCreate_Impl(const OS_object_token_t *token)
391391
else
392392
{
393393
/* will place the task in 'ready for scheduling' state */
394-
rtems_sc = rtems_task_start(local->handler_task, /*rtems task id*/
395-
(rtems_task_entry)OS_TimeBase_CallbackThreadEntry, /* task entry point */
396-
(rtems_task_argument)r_name); /* passed argument */
394+
rtems_sc = rtems_task_start(local->handler_task, /* rtems task id */
395+
OS_TimeBase_CallbackThreadEntry, /* task entry point */
396+
(rtems_task_argument)r_name); /* passed argument */
397397

398398
if (rtems_sc != RTEMS_SUCCESSFUL)
399399
{

0 commit comments

Comments
 (0)