On Fri, Feb 22, 2008 at 06:45:32PM +0900, Kohei KaiGai wrote: > I believe it is correct assumption that long type and pointers have > same width in the linux kernel. Please tell me, if it is wrong.
That is correct, it is one of the assumptions that is safe to make. But you should fix the compiler warning :)