From 5c176b95c26bc007a32c36dbd5947c7a4d452c44 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 15 Jun 2001 00:16:59 +0000 Subject: [PATCH] Fix warning: 110: initialization makes pointer from integer without a cast This was passing a (d_kqfilter_t *)-1 as the kqfilter function pointer. Fortunately there was no D_KQFILTER in d_flags, so this was harmless. --- sys/dev/mly/mly.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index fd3d35738c2..2a92450f710 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -105,8 +105,7 @@ static struct cdevsw mly_cdevsw = { MLY_CDEV_MAJOR, nodump, nopsize, - 0, - -1 + 0 }; /********************************************************************************