ref: d83a200295b2364c5e5da82730504d3b9cb7d85b
parent: 437d0e67ce212de3155758f392f71a174814c528
author: Jacob Moody <[email protected]>
date: Mon Aug 8 01:55:23 EDT 2022
ktrans: cast switch statement for arm
--- a/sys/src/cmd/ktrans/fs.c
+++ b/sys/src/cmd/ktrans/fs.c
@@ -221,7 +221,7 @@
char *p;
aux = r->fid->aux;
- switch(r->fid->qid.path){
+ switch((uint)r->fid->qid.path){
case Qroot:
dirread9p(r, dirgen, nil);
respond(r, nil);
@@ -261,7 +261,7 @@
aux = r->fid->aux;
n = r->ifcall.count;
- switch(r->fid->qid.path){
+ switch((uint)r->fid->qid.path){
case Qkbdin:
if(n < 3){
respond(r, "short write");