mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2025-02-12 23:59:06 +00:00
Match signed type of 'filt' coming in (alternatively change line 175 and remove otherwise useless comparison < 0).
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@509 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
e6543c4c39
commit
c1e6d52fcf
@ -156,7 +156,7 @@ filter_lookup(struct filter **filt, struct kqueue *kq, short id)
|
||||
const char *
|
||||
filter_name(short filt)
|
||||
{
|
||||
unsigned int id;
|
||||
int id;
|
||||
const char *fname[EVFILT_SYSCOUNT] = {
|
||||
"EVFILT_READ",
|
||||
"EVFILT_WRITE",
|
||||
|
Loading…
x
Reference in New Issue
Block a user