]> Pileus Git - ~andy/gtk/commit
quartz: add evil casting to make sure time wraps correctly on 32bit machines
authorMichael Natterer <mitch@gimp.org>
Thu, 23 Aug 2012 07:28:13 +0000 (09:28 +0200)
committerMichael Natterer <mitch@gimp.org>
Thu, 23 Aug 2012 07:31:12 +0000 (09:31 +0200)
commit78506bd604099161819ffdd0fdef98967f8980de
tree9bd1a05c50416b27c29ea69e8fd6788b7a644d7d
parente486fb81189e986830b22ad9562d943990c521fc
quartz: add evil casting to make sure time wraps correctly on 32bit machines

get_time_from_ns_event(): apply patch from Michael Hutchinson which
makes sure the returned guint32 wraps correctly on 32 bit machines
when the uptime exceeds 2^32 ms.
gdk/quartz/gdkevents-quartz.c