stupid sun

This commit is contained in:
rsc 2005-01-14 18:21:12 +00:00
parent 2b3b1e8984
commit 0dc9950215
7 changed files with 8 additions and 11 deletions

View file

@ -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);