X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ftime%2Ftimer_settime.c;h=62631aa49cda75f49fba047163747cd29faa60e3;hb=da27118157c2942d7652138b8d8b0056fc8f872f;hp=f5f36feb2896c013362e197715b56f7969d5f800;hpb=7356c2554e33cf16768616e8e3ae4a4f5a5aac17;p=musl diff --git a/src/time/timer_settime.c b/src/time/timer_settime.c index f5f36feb..62631aa4 100644 --- a/src/time/timer_settime.c +++ b/src/time/timer_settime.c @@ -8,5 +8,5 @@ int timer_settime(timer_t t, int flags, const struct itimerspec *restrict val, s pthread_t td = (void *)((uintptr_t)t << 1); t = (void *)(uintptr_t)(td->timer_id & INT_MAX); } - return syscall(SYS_timer_settime, (long)t, flags, val, old); + return syscall(SYS_timer_settime, t, flags, val, old); }