MSDN says: "Do not cast a pointer to a FILETIME structure to either a
authorTor Lillqvist <tml@novell.com>
Mon, 4 Aug 2008 19:22:05 +0000 (19:22 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 4 Aug 2008 19:22:05 +0000 (19:22 +0000)
commitc9211d68fc38f7114ffd6e5999f1a9ce08738d9a
treecec64fb501c9a1f959f1bec7cb521d3285b8936f
parent81481e84360c98e247ee3fb3fbeabf49d7dba142
MSDN says: "Do not cast a pointer to a FILETIME structure to either a

2008-08-04  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c (g_get_current_time): MSDN says: "Do not cast a
pointer to a FILETIME structure to either a LARGE_INTEGER* or
__int64* value because it can cause alignment faults on 64-bit
Windows." So don't do that then. Indeed the code did work randomly
on Win64 when compiled with optimisation.

svn path=/trunk/; revision=7308
ChangeLog
glib/gmain.c