aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/import.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 18:21:12 +0000
committerrsc <devnull@localhost>2005-01-14 18:21:12 +0000
commit0dc9950215f761f20a7c45e20ac14ce5e0a4ae10 (patch)
tree1b9976f546e4624416d56835bb33b7f8d7da33b1 /src/cmd/import.c
parent2b3b1e8984849541761d0272ba1ad376f5f5a82b (diff)
downloadplan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.tar.gz
plan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.tar.bz2
plan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.zip
stupid sun
Diffstat (limited to 'src/cmd/import.c')
-rw-r--r--src/cmd/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/import.c b/src/cmd/import.c
index f084b8e6..456f663d 100644
--- a/src/cmd/import.c
+++ b/src/cmd/import.c
@@ -243,7 +243,7 @@ shuffle(void *arg)
if(tbuf == nil)
tbuf = emalloc(BLEN+1);
memmove(tbuf, buf, n); // because convM2S is destructive
- if(convM2S(tbuf, n, t) != n)
+ if(convM2S((uchar*)tbuf, n, t) != n)
fprint(dfd, "%d->%d convert error in convM2S", fd[0], fd[1]);
else
fprint(dfd, "%d->%d %F\n", fd[0], fd[1], t);