64-bit fixes. [rsc] --rw-rw-r-- M 451989 glenda sys 7964 Nov 6 10:04 sys/src/cmd/rdbfs.c /n/sourcesdump/2005/1106/plan9/sys/src/cmd/rdbfs.c:275,281 - /n/sourcesdump/2005/1107/plan9/sys/src/cmd/rdbfs.c:275,281 { char buf[ERRMAX]; - switch((int)r->fid->file->aux){ + switch((uintptr)r->fid->file->aux){ case Xtext: close(textfd); textfd = open(textfile, OREAD); /n/sourcesdump/2005/1106/plan9/sys/src/cmd/rdbfs.c:295,301 - /n/sourcesdump/2005/1107/plan9/sys/src/cmd/rdbfs.c:295,301 int i, n; char buf[512]; - switch((int)r->fid->file->aux) { + switch((uintptr)r->fid->file->aux) { case Xfpregs: case Xproc: case Xregs: /n/sourcesdump/2005/1106/plan9/sys/src/cmd/rdbfs.c:336,342 - /n/sourcesdump/2005/1107/plan9/sys/src/cmd/rdbfs.c:336,342 { char buf[ERRMAX]; - switch((int)r->fid->file->aux) { + switch((uintptr)r->fid->file->aux) { case Xctl: if(strncmp(r->ifcall.data, "kill", 4) == 0 || strncmp(r->ifcall.data, "exit", 4) == 0) {