Patches for dealing a bit more cleanly with NTTIME
Jelmer Vernooij
jelmer at samba.org
Wed Apr 14 14:47:07 MDT 2010
Hi Matthieu,
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?
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100414/79a929f8/attachment.pgp>
More information about the samba-technical
mailing list