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)
|
stripustat(Fcall *f, uchar **fpkt, int s2u)
|
||||||
{
|
{
|
||||||
int n;
|
int n;
|
||||||
char *buf;
|
uchar *buf;
|
||||||
char *str;
|
char *str;
|
||||||
Dir dir;
|
Dir dir;
|
||||||
|
|
||||||
|
|
@ -1406,8 +1406,9 @@ stripustat(Fcall *f, uchar **fpkt, int s2u)
|
||||||
int
|
int
|
||||||
stripudirread(Msg* msg)
|
stripudirread(Msg* msg)
|
||||||
{
|
{
|
||||||
|
char *str;
|
||||||
int i, m, n, nn;
|
int i, m, n, nn;
|
||||||
char *buf, *str;
|
uchar *buf;
|
||||||
Dir d;
|
Dir d;
|
||||||
Fcall* rx;
|
Fcall* rx;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -770,7 +770,7 @@ vacspecial(DirSink *dsink, Dir* dir, char *lname, char *sname, VacFile *vf)
|
||||||
entry = dsink->nentry;
|
entry = dsink->nentry;
|
||||||
|
|
||||||
sink = sinkalloc(dsink->sink->z, bsize, bsize);
|
sink = sinkalloc(dsink->sink->z, bsize, bsize);
|
||||||
sinkwrite(sink, buf, n);
|
sinkwrite(sink, (uchar*)buf, n);
|
||||||
sinkclose(sink);
|
sinkclose(sink);
|
||||||
dirsinkwritesink(dsink, sink);
|
dirsinkwritesink(dsink, sink);
|
||||||
sinkfree(sink);
|
sinkfree(sink);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue