--- libaitsched/src/hooks.c 2013/08/15 19:10:48 1.19 +++ libaitsched/src/hooks.c 2013/08/22 15:28:04 1.20 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.19 2013/08/15 19:10:48 misho Exp $ +* $Id: hooks.c,v 1.20 2013/08/22 15:28:04 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -1146,7 +1146,7 @@ sched_hook_rtc(void *task, void *arg __unused) memset(&evt, 0, sizeof evt); evt.sigev_notify = SIGEV_SIGNAL; - evt.sigev_signo = (int) TASK_DATA(t) + SIGRTMIN; + evt.sigev_signo = (intptr_t) TASK_DATA(t) + SIGRTMIN; evt.sigev_value.sival_ptr = TASK_DATA(t); if (timer_create(CLOCK_MONOTONIC, &evt, &tmr) == -1) {