summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 5bbd2f0..94df2d2 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -1515,7 +1515,7 @@ itimers_event_hook(void *arg, struct proc *p)
{
struct itimers *its;
struct itimer *it;
- int event = (int)arg;
+ int event = (int)(intptr_t)arg;
int i;
if (p->p_itimers != NULL) {
OpenPOWER on IntegriCloud