Skip to content

Commit adf88ee

Browse files
committed
Merge pull request #1367 from pepepr08/fix1366-remove-timebase-cast
Fix #1366, removed cast that hid bug at compile time
2 parents 3105366 + 454bd97 commit adf88ee

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
@@ -389,9 +389,9 @@ int32 OS_TimeBaseCreate_Impl(const OS_object_token_t *token)
389389
else
390390
{
391391
/* will place the task in 'ready for scheduling' state */
392-
rtems_sc = rtems_task_start(local->handler_task, /*rtems task id*/
393-
(rtems_task_entry)OS_TimeBase_CallbackThreadEntry, /* task entry point */
394-
(rtems_task_argument)r_name); /* passed argument */
392+
rtems_sc = rtems_task_start(local->handler_task, /* rtems task id */
393+
OS_TimeBase_CallbackThreadEntry, /* task entry point */
394+
(rtems_task_argument)r_name); /* passed argument */
395395

396396
if (rtems_sc != RTEMS_SUCCESSFUL)
397397
{

0 commit comments

Comments
 (0)