samba-cvs.cvs
[Top] [All Lists]

Re: svn commit: samba r8715 - in branches/SAMBA_4_0/source/dsdb/samdb: .

Subject: Re: svn commit: samba r8715 - in branches/SAMBA_4_0/source/dsdb/samdb: .
From: tridge@xxxxxxxxx
Date: Tue, 26 Jul 2005 09:40:06 +1000
Tim,

 > uint64_t foo = 1234;
 > printf("%llu\n", foo);
 > 
 > the line:
 > 
 > printf("%lu\n", foo);
 > 
 > doesn't produce a warning.  i.e sizeof(long) == sizeof(long long).

btw, does this mean that sizeof(uint64_t) != sizeof(long long) ?

If that is the case then we might have more significant problems than
just printf warnings. I would not be surprised to find that quite a
bit of code breaks if long long is not 64 bits wide.

Would you mind running my sizeof.c from junkcode and posting the
results?

Cheers, Tridge

<Prev in Thread] Current Thread [Next in Thread>