Andi Kleen wrote:
On Sat, Jan 22, 2005 at 10:56:17PM -0800, Randy.Dunlap wrote:

Use UL on large constant (kills 3214 sparse warnings :)

include/linux/sched.h:1150:18: warning: constant 0x800000000000 is so big it is long


Sounds more like a sparse bug to me.  The C99 standard says the type
of the constant is the first in which the constant can be represented.
And that list includes unsigned long and even unsigned long long.

Thanks, I'll take it up on the sparse m-l.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to