diff options
author | Christian Persch <chpe@gnome.org> | 2010-10-30 21:40:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-30 21:40:28 -0400 |
commit | ab02965c50b8b80a2a676888f5aa4c36cbc7c3df (patch) | |
tree | df6347c86d1e6045270cb4aab53baef4343f34ae | |
parent | e24dfacd5b81ee0b6b596df3739df4448e5bbf04 (diff) | |
download | glib-ab02965c50b8b80a2a676888f5aa4c36cbc7c3df.tar.gz |
Use G_GINT64_CONSTANT here
Bug #631482.
-rw-r--r-- | glib/gdatetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gdatetime.c b/glib/gdatetime.c index 4ad380784..f51c400fe 100644 --- a/glib/gdatetime.c +++ b/glib/gdatetime.c @@ -481,7 +481,7 @@ g_date_time_from_instant (GTimeZone *tz, GDateTime *datetime; gint64 offset; - if (instant < 0 || instant > 1000000000000000000) + if (instant < 0 || instant > G_GINT64_CONSTANT (1000000000000000000)) return NULL; datetime = g_date_time_alloc (tz); |