diff -r f5f93a4dadbd airc.c --- a/airc.c Wed Aug 01 00:00:00 2012 +0200 +++ b/airc.c Wed Aug 01 00:00:00 2012 +0200 @@ -439,19 +439,14 @@ Win *w; char *name; Chat *chat; - char *file; - int fd; chat = v; name = chat->name; ic = chat->ic; w = chat->w; - - file = nil; - fd = -1; l = ic->chatter; - + hostpt = 1; winwrite(w, "tag", "Who ", 4); diff -r f5f93a4dadbd irc.c --- a/irc.c Wed Aug 01 00:00:00 2012 +0200 +++ b/irc.c Wed Aug 01 00:00:00 2012 +0200 @@ -52,8 +52,8 @@ ircaddr = estrdup(netmkaddr(addr, "tcp", "6667")); if((fd = dial(ircaddr, nil, nil, nil)) < 0) return -1; - proccreate(ircread, (void*)dup(fd, -1), STACK); - proccreate(ircwrite, (void*)dup(fd, -1), STACK); + proccreate(ircread, (void*)(uintptr)dup(fd, -1), STACK); + proccreate(ircwrite, (void*)(uintptr)dup(fd, -1), STACK); return 0; } @@ -286,7 +286,7 @@ Imsg *m; int fd; - fd = (int)v; + fd = (int)(uintptr)v; threadsetname("ircread"); b = emalloc(sizeof(Biobuf)); Binit(b, fd, OREAD); @@ -314,7 +314,7 @@ char *p; int fd; - fd = (int)v; + fd = (int)(uintptr)v; threadsetname("ircwrite"); while((p = recvp(writechan)) != nil){ if(chatty) diff -r f5f93a4dadbd ircmux.c --- a/ircmux.c Wed Aug 01 00:00:00 2012 +0200 +++ b/ircmux.c Wed Aug 01 00:00:00 2012 +0200 @@ -411,7 +411,7 @@ Imsg* ircparseclientmsg(char *p) { - char *f[MAXARG+3], *q, *ep; + char *f[MAXARG+3], *q; int nf, n; Imsg *m; @@ -426,7 +426,6 @@ m->raw = p; p += strlen(p)+1; strcpy(p, q); - ep = p+strlen(p)+1; /* room for more data */ if((nf=irctokenize(p, f, nelem(f))) == nelem(f)){ free(m); werrstr("too many args"); diff -r f5f93a4dadbd list.c --- a/list.c Wed Aug 01 00:00:00 2012 +0200 +++ b/list.c Wed Aug 01 00:00:00 2012 +0200 @@ -19,7 +19,7 @@ static void bufferthread(void *v) { - Alt a[3]; + Alt a[4]; List *l; Elt *e, *ee; void *p;