--- libaitsched/src/hooks.c 2022/11/28 23:06:06 1.37.2.1 +++ libaitsched/src/hooks.c 2022/11/28 23:29:59 1.37.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.37.2.1 2022/11/28 23:06:06 misho Exp $ +* $Id: hooks.c,v 1.37.2.2 2022/11/28 23:29:59 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -537,7 +537,7 @@ sched_hook_read(void *task, void *arg) { sched_task_t *t = task; sched_root_task_t *r = NULL; - intptr_t mask = (intptr_t) arg; + uintptr_t mask = (uintptr_t) arg; #if SUP_ENABLE == KQ_SUPPORT struct kevent chg[1]; struct timespec timeout = { 0, 0 };