> > gcc's different % rounding > > hmm? i'm sorry. totally wrong. i thought i remembered and i didn't. it was a different problem entirely.
i found i had to make loads of changes like the following /sys/src/9/ip/devip.c:47,53 - /mnt/term/home/quanstro/hg2/vx32.old/src/9vx/a/ip/devip.c:47,53 #define TYPE(x) ( ((ulong)(x).path) & Masktype ) #define CONV(x) ( (((ulong)(x).path) >> Shiftconv) & Maskconv ) #define PROTO(x) ( (((ulong)(x).path) >> Shiftproto) & Maskproto ) - #define QID(p, c, y) ( ((p)<<(Shiftproto)) | ((c)<<Shiftconv) | (y) ) + #define QID(p, c, y) ( ((uint)(p)<<(Shiftproto)) | ((uint)(c)<<Shiftconv) | (y) ) static char network[] = "network"; - erik