[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: 0 or 0L for empty pointers?
From:       David Faure <faure () kde ! org>
Date:       2006-06-21 8:18:47
Message-ID: 200606211018.48015.faure () kde ! org
[Download RAW message or body]

On Tuesday 20 June 2006 23:15, Michael Buesch wrote:
> On Tuesday 20 June 2006 20:02, Friedrich W. H. Kossebau wrote:
> > IIRC it was something with sizeof(long)==sizeof(void*) not always true. Any 
> > experts?
> 
> sizeof(long)==sizeof(void*) is an assumption in the linux kernel, at least.
> So it is true for all archs which are supported by linux.
> I don't know if there are archs supported by KDE for which this is not
> true, though.

I was told that this assumption doesn't hold on Windows-64bit.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic