Signedness bugs for Mac OS X.

This commit is contained in:
rsc 2005-09-13 03:58:31 +00:00
parent 00a95363d5
commit 23e7c65741
2 changed files with 4 additions and 3 deletions

View file

@ -770,7 +770,7 @@ vacspecial(DirSink *dsink, Dir* dir, char *lname, char *sname, VacFile *vf)
entry = dsink->nentry;
sink = sinkalloc(dsink->sink->z, bsize, bsize);
sinkwrite(sink, buf, n);
sinkwrite(sink, (uchar*)buf, n);
sinkclose(sink);
dirsinkwritesink(dsink, sink);
sinkfree(sink);