Skip to content

Commit

Permalink
Fix #1244, removed cast that hid the bug at compile time
Browse files Browse the repository at this point in the history
  • Loading branch information
pepepr08 committed Aug 4, 2022
1 parent 942a1f6 commit 97441c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/os/rtems/src/os-impl-timebase.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ int32 OS_TimeBaseCreate_Impl(const OS_object_token_t *token)
else
{
/* will place the task in 'ready for scheduling' state */
rtems_sc = rtems_task_start(local->handler_task, /*rtems task id*/
(rtems_task_entry)OS_TimeBase_CallbackThreadEntry, /* task entry point */
(rtems_task_argument)r_name); /* passed argument */
rtems_sc = rtems_task_start(local->handler_task, /* rtems task id */
OS_TimeBase_CallbackThreadEntry, /* task entry point */
(rtems_task_argument)r_name); /* passed argument */

if (rtems_sc != RTEMS_SUCCESSFUL)
{
Expand Down

0 comments on commit 97441c8

Please sign in to comment.