64-bit fixes.
[jmk] --rw-rw-r-- M 107020 presotto sys 12318 Nov 19 20:57 sys/src/cmd/fossil/flfmt9660.c
/n/sourcesdump/2005/1119/plan9/sys/src/cmd/fossil/flfmt9660.c:515,521 -
/n/sourcesdump/2005/1120/plan9/sys/src/cmd/fossil/flfmt9660.c:515,521
ind++;
memset(&d, 0, sizeof d);
p = c->name + c->namelen;
- if(((ulong)p) & 1)
+ if(((uintptr)p) & 1)
p++;
sysl = (uchar*)c + c->len - p;
if(sysl <= 0)
/n/sourcesdump/2005/1119/plan9/sys/src/cmd/fossil/flfmt9660.c:523,529 -
/n/sourcesdump/2005/1120/plan9/sys/src/cmd/fossil/flfmt9660.c:523,529
d.name = getname(&p);
d.uid = getname(&p);
d.gid = getname(&p);
- if((ulong)p & 1)
+ if((uintptr)p & 1)
p++;
d.mode = little(p, 4);
if(d.name[0] == 0)
|