On Wednesday 30 July 2008 10:57:08 Martin Simmons wrote: > >>>>> On Wed, 30 Jul 2008 09:07:24 +0200, Kern Sibbald said: > > > > - In general there is nothing wrong with referencing "int"; on a 64 bit > > system "int" is 64 bits. > > I hope Bacula doesn't assume that, because "int" is very likely to be 32 > bits on 64 bit platforms! The "long" type is usually 64 bits, but beware > that it is 32 bits on 64 bit Windows.
No, we make no assumptions about the size of int other than it is at least 32 bits. Where size really counts, as you surely know, we use our own platform independent definitions such as int32_t, uint32_t, int64_t, uint64_t, boffset_t, ... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
