Re: Compiling kernel with SuSE 8.2/gcc 3.3

From: Andrew Morton (akpm@digeo.com)
Date: Wed Jun 11 2003 - 20:40:45 EST


Steve French <smfrench@austin.rr.com> wrote:
>
> Although it fixes it for building on 32 bit architectures, won't changing
>
>
> __u64 uid = 0xFFFFFFFFFFFFFFFF;
> to
>
> __u64 uid = 0xFFFFFFFFFFFFFFFFULL;
>
> generate a type mismatch warning on ppc64 and similar 64 bit
> architecutres since __u64 is not a unsigned long long on ppc64
> (it is unsigned long)?

        u64 uid = -1;

will work just nicely.
-
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 : Sun Jun 15 2003 - 22:00:30 EST