mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
committed by
Matthias Clasen
parent
e24dfacd5b
commit
ab02965c50
@@ -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);
|
||||
|
Reference in New Issue
Block a user