-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Duncan wrote: > Beso <[EMAIL PROTECTED]> posted > [EMAIL PROTECTED], excerpted > below, on Mon, 25 Aug 2008 16:06:13 +0200: > >> this might mean quite a big trouble with klibido too... > > Indeed... and probably thunderbird and claws and knode and... and... > > BTW, "long" is 32-bit on x86_64 too, right? Or is it 64-bit? I know the > addresses are 64-bit, but if I'm not mistaken, one of the porting issues > was that a lot of software expected memory addresses to be unsigned long > and on 64-bit, they're not, but rather unsigned long long, or /something/ > like that. Did I get it right? And plain int, is that 16-bit, or 32? >
It depends on the OS that you are using. On Linux x86_64, long is 64 bits. On Windows, long is 32 bits. The C99 types such as uint32_t, int64_t, etc. are the way to go if bits matter. If you need an int that can hold a pointer, use intptr_t. Most C/C++ compilers lower than C99 have these types as well, but under slightly different names. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiy2dUACgkQolqWs/Y4NLzhlgCdHakzPUlolXsjVtpDdgnZKTqE JMcAn3P3hrz69OGG+8DYh7hJKeogLA5t =EQiz -----END PGP SIGNATURE----- _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users