Re: [PATCH] Fix ptrdiff_t vs. int
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 27, 2005, 17:18 UTC
- Message-ID
- <Pine.LNX.4.58.0505271013260.17402@ppc970.osdl.org>
- In-Reply-To
- <42971EB4.2050403@oberhumer.com>
On Fri, 27 May 2005, Markus F.X.J. Oberhumer wrote:
> > This trivial patch fixes an obvious ptrdiff_t vs. int mismatch. Which > makes we wonder why Linus isn't hitting this on his ppc64 - maybe it's > time to start using -Werror...
My _kernel_ is 64-bit, but my user-space is all 32-bit because (a) I don't care about user-space and (b) I'm lazy and (c) all the distributions contain just 32-bit programs and a ppc64 kernel has no trouble running 32-bit programs.
I can compile a kernel with "-m64", but since I don't have any 64-bit libraries installed, user space doesn't work that well ;)
Linus