ref: 63c830bd20bb3fe0aa5252ae341496f9e15067c7
parent: 644558704ac379c5c11cd7d2452eff225632431c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Aug 12 03:47:52 EDT 2025
libmach/test: avoid 64-bit value in switch
--- a/sys/src/libmach/test/q.c
+++ b/sys/src/libmach/test/q.c
@@ -1262,7 +1262,7 @@
return 4;
}
off -= nelem(instab)*4;
- switch(off%8){+ switch((uint)off%8){case 0:
o = parsefmt(&instab2[off/8].pfx);
PUT4(((uchar*)buf), o);
--
⑨