From 5c176b95c26bc007a32c36dbd5947c7a4d452c44 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 15 Jun 2001 00:16:59 +0000 Subject: 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(-) (limited to 'sys/dev/mly') diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index fd3d35738c27..2a92450f710a 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 }; /******************************************************************************** -- cgit v1.2.3