Patches for dealing a bit more cleanly with NTTIME
jelmer at samba.org
Wed Apr 14 14:47:07 MDT 2010
On Thu, 2010-04-15 at 00:37 +0400, Matthieu Patou wrote:
> Hello jelmer,
> This patch is for dealing correctly with NTTIME (64bits) + allowing to
> print a NTTIME object in a string.
You're using PyInt_FromLong((uint64_t)t). That seems wrong because
sizeof(uint64_t) > sizeof(long) and t is a time_t. Perhaps you just
don't want to cast at all?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the samba-technical