erik quanstrom
2012-02-28 04:40:13 UTC
for p = uchar*, Nbus==256,
if((uint)p[1] >= Nbus){
generates
warning: ./mp.c:212 useless or misleading comparison: UCHAR >= 0x100
i'm pretty sure that 6c is incorrectly issuing the diagnostic before
applying the cast. (the cast is there to shut the compiler up.)
- erik
if((uint)p[1] >= Nbus){
generates
warning: ./mp.c:212 useless or misleading comparison: UCHAR >= 0x100
i'm pretty sure that 6c is incorrectly issuing the diagnostic before
applying the cast. (the cast is there to shut the compiler up.)
- erik