aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term/9term.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-29 21:15:06 +0000
committerrsc <devnull@localhost>2005-12-29 21:15:06 +0000
commite58459c7b3150fe23f3a520f3e9a758a51685047 (patch)
tree9bd68489cf18f3a7272a68638f9b2411b8f2b9f8 /src/cmd/9term/9term.c
parent297cded760c755079e9f22d22fa37b864bf88a51 (diff)
downloadplan9port-e58459c7b3150fe23f3a520f3e9a758a51685047.tar.gz
plan9port-e58459c7b3150fe23f3a520f3e9a758a51685047.tar.bz2
plan9port-e58459c7b3150fe23f3a520f3e9a758a51685047.zip
fix paste in raw hold mode
Diffstat (limited to 'src/cmd/9term/9term.c')
-rw-r--r--src/cmd/9term/9term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index c2bd7766..60479ed6 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -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){