[parisc-linux] 2.4 64bits MAX_ADDRESS ?

Matthew Wilcox willy@debian.org
Sun, 9 Nov 2003 17:48:32 +0000


On Sun, Nov 09, 2003 at 05:37:08PM +0000, Joel Soete wrote:
> which correctly warm me about some 'overflow':
> 
> foo.c: In function `main':
> foo.c:42: warning: left shift count >= width of type
> foo.c:42: warning: left shift count >= width of type
> 
> afaik MAX_ADDRBITS==39 against a long contains only 32bits?

no, long is 64-bit in LP64.  that's what LP64 means.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk