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

tridge at samba.org tridge at samba.org
Mon Jul 25 23:48:09 GMT 2005


Tim,

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

don't worry, I just checked the configure output in the build farm for
deckchair and found:

  checking size of long long... 8

so it is a 64 bit int. That means that uint64_t is the same type as
unsigned long long. So why does the compiler give a warning about %llu?
We know it supports %llu as it passes that configure test.

Anyway, this means the problem is just a warning workaround, not
anything more serious. So a configure test for %PRIu64 to
conditionally use the 'right' format string for this will do the
trick.

Or we could do what we do in other places and just cast to the format
type in the printf call.

Cheers, Tridge


More information about the samba-cvs mailing list