From b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Aug 2012 00:27:10 -0400 Subject: [PATCH] GDateTime: pack the struct better Makes a difference in 32bit. --- glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glib/gdatetime.c b/glib/gdatetime.c index 4bd0e79..d09fa08 100644 --- a/glib/gdatetime.c +++ b/glib/gdatetime.c @@ -115,9 +115,6 @@ struct _GDateTime { - /* 1 is 0001-01-01 in Proleptic Gregorian */ - gint32 days; - /* Microsecond timekeeping within Day */ guint64 usec; @@ -125,6 +122,9 @@ struct _GDateTime GTimeZone *tz; gint interval; + /* 1 is 0001-01-01 in Proleptic Gregorian */ + gint32 days; + volatile gint ref_count; }; -- 2.7.4