Re: arch/i386/kernel/mpparse.c warning fixes

From: mikpe@csd.uu.se
Date: Thu May 22 2003 - 14:03:27 EST


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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:50 EST