mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
Signedness bugs for Mac OS X.
This commit is contained in:
parent
00a95363d5
commit
23e7c65741
2 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue