fix paste in raw hold mode

This commit is contained in:
rsc 2005-12-29 21:15:06 +00:00
parent 297cded760
commit e58459c7b3
2 changed files with 3 additions and 3 deletions

View file

@ -596,7 +596,7 @@ listenproc(void *arg)
close(afd);
return;
}
proccreate(textproc, (void*)fd, STACK);
proccreate(textproc, (void*)(uintptr)fd, STACK);
}
}
@ -608,7 +608,7 @@ textproc(void *arg)
char buf[4096], *p, *ep;
threadsetname("textproc");
fd = (int)arg;
fd = (uintptr)arg;
p = buf;
ep = buf+sizeof buf;
if(w == nil){