about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2005-08-27 20:27:07 +0000
committerFlorian Westphal <fw@strlen.de>2005-08-27 20:27:07 +0000
commitf36337fab30ebe24e526ad6e3cd4e751b5d017d7 (patch)
treeb0ece11b9b15de8054e0477b079eba86d094542a /src
parent1a46b37bd586a5678f41447eb4b0f8d4374a3c74 (diff)
downloadngircd-f36337fab30ebe24e526ad6e3cd4e751b5d017d7.tar.gz
ngircd-f36337fab30ebe24e526ad6e3cd4e751b5d017d7.zip
fix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/io.c b/src/ngircd/io.c
index 7c1a5517..3782cd3c 100644
--- a/src/ngircd/io.c
+++ b/src/ngircd/io.c
@@ -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;