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
This commit is contained in:
parent
5469543c92
commit
abc8594d70
@ -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:
|
||||
|
@ -191,7 +191,7 @@ struct filterops {
|
||||
int (*f_attach)(struct knote *kn);
|
||||
void (*f_detach)(struct knote *kn);
|
||||
int (*f_event)(struct knote *kn, long hint);
|
||||
void (*f_touch)(struct knote *kn, struct kevent *kev, long type);
|
||||
void (*f_touch)(struct knote *kn, struct kevent *kev, unsigned long type);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user