ref: 1b5b4dd75d6f191d1ced65b392700acd51af4f9a
parent: ced00cf853f87079fd525d8dc21b9d27011d8a2f
author: Jacob Moody <moody@posixcafe.org>
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");
--
⑨