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:
jocke 2011-05-19 07:36:55 +00:00
parent e6543c4c39
commit c1e6d52fcf

View File

@ -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",