sched: timer: Fix inappropriate cast in timer_settime()
This commit is contained in:
parent
f51e478ad8
commit
3f37dddea7
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ int timer_settime(timer_t timerid, int flags,
|
|||
|
||||
timer->pt_last = delay;
|
||||
ret = wd_start(timer->pt_wdog, delay, (wdentry_t)timer_timeout,
|
||||
1, (uint32_t)((wdparm_t)timer));
|
||||
1, (wdparm_t)timer);
|
||||
if (ret < 0)
|
||||
{
|
||||
set_errno(-ret);
|
||||
|
|
Loading…
Reference in a new issue