Messages in this thread | | | Date | Thu, 22 May 2003 21:03:27 +0200 | From | mikpe@csd ... | Subject | Re: arch/i386/kernel/mpparse.c warning fixes |
| |
William Lee Irwin III writes: > On Thu, May 22, 2003 at 08:49:33PM +0200, mikpe@csd.uu.se wrote: > > Ah, so it's a workaround to silence a compiler warning on char > 256. > > Frankly, I'd rather see a cast there in this case. I.e., > > (unsigned int)m->mpc_apicid >= MAX_APICS > > or something like that, with a suitable comment. > > Already tried it. It does not suffice to silence the compiler.
Ok, I give up. The stupid POS compiler forces the ugly rewrite... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |