Fix compiling warning on 64 bits system.

This commit is contained in:
David Xu 2005-12-09 13:16:48 +00:00
parent 02d48226cc
commit 3e70c6f047
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153267

View file

@ -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) {