]> arthur.barton.de Git - ngircd-alex.git/commitdiff
fix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0
authorFlorian Westphal <fw@strlen.de>
Sat, 27 Aug 2005 20:27:07 +0000 (20:27 +0000)
committerFlorian Westphal <fw@strlen.de>
Sat, 27 Aug 2005 20:27:07 +0000 (20:27 +0000)
src/ngircd/io.c

index 7c1a55175e003be2620079dac898e7e7cc3b6339..3782cd3c7680af8c704529e999d25c4f45c8e8af 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: io.c,v 1.6 2005/08/27 20:25:54 fw Exp $";
+static char UNUSED id[] = "$Id: io.c,v 1.7 2005/08/27 20:27:07 fw Exp $";
 
 #include <assert.h>
 #include <stdlib.h>
@@ -521,7 +521,7 @@ io_dispatch_kqueue(struct timeval *tv)
 {
        int i, total = 0, ret;
        struct kevent kev[100];
-       struct kevent *newevents;
+       const struct kevent *newevents;
        struct timespec ts;
        int newevents_len;
        short type;