64-bit safety. [rsc] --rw-rw-r-- M 320859 glenda sys 20275 Oct 27 10:39 sys/src/cmd/aux/apm.c /n/sourcesdump/2005/1027/plan9/sys/src/cmd/aux/apm.c:621,627 - /n/sourcesdump/2005/1028/plan9/sys/src/cmd/aux/apm.c:621,627 }; static int - fillstat(ulong path, Dir *d, int doalloc) + fillstat(uvlong path, Dir *d, int doalloc) { int i; /n/sourcesdump/2005/1027/plan9/sys/src/cmd/aux/apm.c:713,719 - /n/sourcesdump/2005/1028/plan9/sys/src/cmd/aux/apm.c:713,720 static void rootread(Req *r) { - int n, offset; + int n; + uvlong offset; char *p, *ep; Dir d; /n/sourcesdump/2005/1027/plan9/sys/src/cmd/aux/apm.c:720,726 - /n/sourcesdump/2005/1028/plan9/sys/src/cmd/aux/apm.c:721,727 if(r->ifcall.offset == 0) offset = 0; else - offset = (int)r->fid->aux; + offset = (uvlong)r->fid->aux; p = r->ofcall.data; ep = r->ofcall.data+r->ifcall.count;