Messages in this thread | | | Date | Thu, 22 May 2003 11:59:21 -0700 | From | William Lee Irwin III <> | Subject | Re: arch/i386/kernel/mpparse.c warning fixes |
| |
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.
-- wli - 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/
| |