Use G_GINT64_CONSTANT here

Bug #631482.
This commit is contained in:
Christian Persch 2010-10-30 21:40:28 -04:00 committed by Matthias Clasen
parent e24dfacd5b
commit ab02965c50

View File

@ -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);