src/protocols/irc/parse.c

changeset 7631
0e9e516bb6c3
parent 6970
3a1c6fb673f7
child 7877
e523a7081aaf
--- a/src/protocols/irc/parse.c	Tue Nov 25 06:56:44 2003 +0000
+++ b/src/protocols/irc/parse.c	Tue Nov 25 07:16:11 2003 +0000
@@ -127,7 +127,7 @@
 	{ "voice", ":", irc_cmd_op },
 	{ "wallops", ":", irc_cmd_wallops },
 	{ "whois", "n", irc_cmd_whois },
-	{ NULL, NULL }
+	{ NULL, NULL, NULL }
 };
 
 static char *irc_send_convert(struct irc_conn *irc, const char *string)
@@ -380,7 +380,7 @@
 {
 	struct _irc_msg *msgent;
 	char *cur, *end, *tmp, *from, *msgname, *fmt, **args, *msg;
-	int i;
+	guint i;
 
 	if (!strncmp(input, "PING ", 5)) {
 		msg = irc_format(irc, "vv", "PONG", input + 5);
@@ -461,7 +461,8 @@
 	const char *cur, *end, *fmt; 
 	char *tmp, *cmd, **args;
 	struct _irc_user_cmd *cmdent;
-	int i, ret;
+	guint i;
+	int ret;
 
 	cur = cmdstr;
 	end = strchr(cmdstr, ' ');

mercurial