summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_event.c
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-09-17 17:41:28 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-09-17 17:41:28 +0000
commit1f00412058832a01f50106b49111b327620dc82d (patch)
treee4c086a6e4473bb5d42bf24633dd2ea7b154ed70 /sys/kern/kern_event.c
parent2839ba8b80acdc0500628ca6e0e8606fe8dd4b8d (diff)
downloadFreeBSD-src-1f00412058832a01f50106b49111b327620dc82d.zip
FreeBSD-src-1f00412058832a01f50106b49111b327620dc82d.tar.gz
Make these argument/variable unsigned as the defines for them don't fit
into signed 32bit integer. Approved by: ed (mentor, implicit) Approved by: sson
Diffstat (limited to 'sys/kern/kern_event.c')
-rw-r--r--sys/kern/kern_event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 8ce7621..a43d765 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -145,7 +145,7 @@ static int filt_timer(struct knote *kn, long hint);
static int filt_userattach(struct knote *kn);
static void filt_userdetach(struct knote *kn);
static int filt_user(struct knote *kn, long hint);
-static void filt_usertouch(struct knote *kn, struct kevent *kev, long type);
+static void filt_usertouch(struct knote *kn, struct kevent *kev, unsigned long type);
static struct filterops file_filtops = {
.f_isfd = 1,
@@ -616,9 +616,9 @@ filt_user(struct knote *kn, __unused long hint)
}
static void
-filt_usertouch(struct knote *kn, struct kevent *kev, long type)
+filt_usertouch(struct knote *kn, struct kevent *kev, unsigned long type)
{
- int ffctrl;
+ unsigned int ffctrl;
switch (type) {
case EVENT_REGISTER:
OpenPOWER on IntegriCloud