amd64 fixes

This commit is contained in:
Russ Cox
2006-05-21 16:32:29 +00:00
parent af11a9e129
commit 5797fdc0c0
28 changed files with 116 additions and 66 deletions

View File

@ -358,7 +358,7 @@ sslwstat(Chan *c, uchar *db, int n)
if(!emptystr(dir->uid))
kstrdup(&s->user, dir->uid);
if(dir->mode != ~0UL)
if(dir->mode != ~0)
s->perm = dir->mode;
free(dir);