aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-09-13 03:58:31 +0000
committerrsc <devnull@localhost>2005-09-13 03:58:31 +0000
commit23e7c65741a0f194ff994dffa0e1e3db9ae35a86 (patch)
treea13e9507f8ec652f2347ce15d0863322ce1a4560 /src/cmd/vac
parent00a95363d54467899460620e69dc5cddc5361226 (diff)
downloadplan9port-23e7c65741a0f194ff994dffa0e1e3db9ae35a86.tar.gz
plan9port-23e7c65741a0f194ff994dffa0e1e3db9ae35a86.tar.bz2
plan9port-23e7c65741a0f194ff994dffa0e1e3db9ae35a86.zip
Signedness bugs for Mac OS X.
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index 95a905fc..7b12f83e 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -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);