lkml.org 
[lkml]   [2003]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.052 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site