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

@ -1379,7 +1379,7 @@ int
stripustat(Fcall *f, uchar **fpkt, int s2u)
{
int n;
char *buf;
uchar *buf;
char *str;
Dir dir;
@ -1406,8 +1406,9 @@ stripustat(Fcall *f, uchar **fpkt, int s2u)
int
stripudirread(Msg* msg)
{
char *str;
int i, m, n, nn;
char *buf, *str;
uchar *buf;
Dir d;
Fcall* rx;

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