diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-12-09 13:16:48 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-12-09 13:16:48 +0000 |
commit | c7a54e3a6445b5d0dfefeb88dc9e25f18d0f0c85 (patch) | |
tree | 5394f0abeb42b1164d557c8d2429b6372fa0230f /sys | |
parent | 5d0fbfa49f349b8c89639345f0f631d1e44596b4 (diff) | |
download | FreeBSD-src-c7a54e3a6445b5d0dfefeb88dc9e25f18d0f0c85.zip FreeBSD-src-c7a54e3a6445b5d0dfefeb88dc9e25f18d0f0c85.tar.gz |
Fix compiling warning on 64 bits system.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_time.c | 2 |
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) { |